X-Git-Url: https://git.openstreetmap.org./nominatim.git/blobdiff_plain/3ef4c4fbe7da4b8feb9566d3455badffec55e151..6e3670bce58ccb1d9357e9bc558d10db3f27931b:/lib/ParameterParser.php?ds=sidebyside diff --git a/lib/ParameterParser.php b/lib/ParameterParser.php index c9a97c25..26b648bb 100644 --- a/lib/ParameterParser.php +++ b/lib/ParameterParser.php @@ -99,7 +99,7 @@ class ParameterParser arsort($aLanguages); } } - if (!sizeof($aLanguages) && CONST_Default_Language) { + if (empty($aLanguages) && CONST_Default_Language) { $aLanguages[CONST_Default_Language] = 1; }