From: Sarah Hoffmann Date: Thu, 4 Jul 2013 15:52:25 +0000 (+0200) Subject: fix error output X-Git-Tag: v2.2.0~57 X-Git-Url: https://git.openstreetmap.org./nominatim.git/commitdiff_plain/3ccf466e2f335248d614546536e685e0d33ac32b?ds=sidebyside fix error output --- diff --git a/website/reverse.php b/website/reverse.php index f6925846..b4ab97b6 100755 --- a/website/reverse.php +++ b/website/reverse.php @@ -107,7 +107,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'];