]> git.openstreetmap.org Git - nominatim.git/blobdiff - lib/ParameterParser.php
Merge remote-tracking branch 'upstream/master'
[nominatim.git] / lib / ParameterParser.php
index ae252d6795b9e6f63ff50704c163091fac8ac25a..32a848b93011fce3edaa1975ad6450369b121725 100644 (file)
@@ -119,10 +119,10 @@ class ParameterParser
         return $aLangPrefOrder;
     }
 
         return $aLangPrefOrder;
     }
 
-    public function hasSetAny($aParams)
+    public function hasSetAny($aParamNames)
     {
     {
-        foreach ($aParams as $sParam) {
-            if ($this->getBool($sParam)) {
+        foreach ($aParamNames as $sName) {
+            if ($this->getBool($sName)) {
                 return true;
             }
         }
                 return true;
             }
         }