]> git.openstreetmap.org Git - nominatim.git/blobdiff - website/reverse.php
hint blocked IPs about missing UA
[nominatim.git] / website / reverse.php
index 708aaf789ead889bd07a9fc6126ca15728d7026e..134b5e4e84d76cdb8ba6d12243b62993d6e71027 100755 (executable)
@@ -95,7 +95,7 @@
                        $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'];