X-Git-Url: https://git.openstreetmap.org./nominatim.git/blobdiff_plain/8b4b647d772e8cee1064043c2a672431051a1db4..9b76a8ffb4c4cd13628d85c00cf286382970b149:/website/search.php 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();