From 3ccf466e2f335248d614546536e685e0d33ac32b Mon Sep 17 00:00:00 2001 From: Sarah Hoffmann Date: Thu, 4 Jul 2013 17:52:25 +0200 Subject: [PATCH] fix error output --- website/reverse.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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']; -- 2.39.5