X-Git-Url: https://git.openstreetmap.org./nominatim.git/blobdiff_plain/ab54a4b8d7ba75f7a1ecd18de34bbce5af291b5b..1e902ef60797be97f8b95cc716af01789e8be14c:/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();