]> git.openstreetmap.org Git - nominatim.git/commitdiff
fix error output
authorSarah Hoffmann <lonvia@denofr.de>
Thu, 4 Jul 2013 15:52:25 +0000 (17:52 +0200)
committerSarah Hoffmann <lonvia@denofr.de>
Thu, 4 Jul 2013 15:52:25 +0000 (17:52 +0200)
website/reverse.php

index f6925846a172c75012f80b90316147b7034e1bb5..b4ab97b6cd4eac9c2f929d8be922ce2f0009075d 100755 (executable)
                        $aPlace = $oDB->getRow($sSQL);
                        if (PEAR::IsError($aPlace))
                        {
-                               failInternalError("Could not determine closest place.", $sSQL, $iPlaceID);
+                               failInternalError("Could not determine closest place.", $sSQL, $aPlace);
                        }
                        $iPlaceID = $aPlace['place_id'];
                        $iParentPlaceID = $aPlace['parent_place_id'];