X-Git-Url: https://git.openstreetmap.org./nominatim.git/blobdiff_plain/775fdeb8e4cbafb5d21d4899192c783f150c16ed..a3728b718882dc1cbdf4e4e3853d938656d077e4:/lib/template/search-html.php diff --git a/lib/template/search-html.php b/lib/template/search-html.php index 02c338cd..c42476bf 100644 --- a/lib/template/search-html.php +++ b/lib/template/search-html.php @@ -17,17 +17,16 @@
@@ -54,11 +53,11 @@ echo ' ('.ucwords(str_replace('_',' ',$aResult['class'])).')'; else echo ' ('.ucwords(str_replace('_',' ',$aResult['type'])).')'; - echo ' details'; + echo ' details'; echo ''; $i = $i+1; } - if (sizeof($aSearchResults) && $sMoreURL) + if (!empty($aSearchResults) && $sMoreURL) { echo ''; }