X-Git-Url: https://git.openstreetmap.org./nominatim.git/blobdiff_plain/6c12fc971e0e6141572ad50adf79533b4fc87d1a..b66004c3c554c87886afa170f9065be249a3d9d4:/lib/template/search-html.php diff --git a/lib/template/search-html.php b/lib/template/search-html.php index 37a6ce4a..53c6c88c 100644 --- a/lib/template/search-html.php +++ b/lib/template/search-html.php @@ -57,7 +57,7 @@ echo ''; $i = $i+1; } - if (sizeof($aSearchResults) && $sMoreURL) + if (!empty($aSearchResults) && $sMoreURL) { echo '
Search for more results
'; }