X-Git-Url: https://git.openstreetmap.org./nominatim.git/blobdiff_plain/d23fa84471a92664431775fdfa81048180d3f359..14c25717abd8a980087ea832b4c012665f22c367:/website/search.php?ds=sidebyside diff --git a/website/search.php b/website/search.php index 0dddacce..6dc44335 100755 --- a/website/search.php +++ b/website/search.php @@ -68,7 +68,7 @@ $aSearchResults = $oGeocode->lookup(); if ($sOutputFormat=='html') { $sDataDate = chksql($oDB->getOne("select TO_CHAR(lastimportdate,'YYYY/MM/DD HH24:MI')||' GMT' from import_status limit 1")); } -logEnd($oDB, $hLog, sizeof($aSearchResults)); +logEnd($oDB, $hLog, count($aSearchResults)); $sQuery = $oGeocode->getQueryString();