mirror of
https://github.com/osm-search/Nominatim.git
synced 2026-02-16 15:47:58 +00:00
replace PHP sizeof() with either count() or empty()
This commit is contained in:
@@ -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();
|
||||
|
||||
|
||||
Reference in New Issue
Block a user