]> git.openstreetmap.org Git - nominatim.git/blobdiff - lib/ParameterParser.php
place nodes can only be linked once against boundaries
[nominatim.git] / lib / ParameterParser.php
index ae252d6795b9e6f63ff50704c163091fac8ac25a..32a848b93011fce3edaa1975ad6450369b121725 100644 (file)
@@ -119,10 +119,10 @@ class ParameterParser
         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;
             }
         }