X-Git-Url: https://git.openstreetmap.org./nominatim.git/blobdiff_plain/d35a0b392e5031bb5bbdcb5d32ca25306568d29a..5b20fa7e38d81d0a7e63aaf3c64c3ab80916ff38:/lib/ParameterParser.php?ds=sidebyside diff --git a/lib/ParameterParser.php b/lib/ParameterParser.php index ae252d67..32a848b9 100644 --- a/lib/ParameterParser.php +++ b/lib/ParameterParser.php @@ -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; } }