X-Git-Url: https://git.openstreetmap.org/nominatim.git/blobdiff_plain/315713ff9a00cf1c942d2c73ecae54571f29acd5..d1f6fab68af24f858081f04982b98baa1e41cafb:/lib/Geocode.php diff --git a/lib/Geocode.php b/lib/Geocode.php index b2eee7ba..d5647c76 100644 --- a/lib/Geocode.php +++ b/lib/Geocode.php @@ -225,14 +225,14 @@ class Geocode $aViewbox = $oParams->getStringList('viewboxlbrt'); if ($aViewbox) { if (count($aViewbox) != 4) { - userError("Bad parmater 'viewboxlbrt'. Expected 4 coordinates."); + userError("Bad parameter 'viewboxlbrt'. Expected 4 coordinates."); } $this->setViewbox($aViewbox); } else { $aViewbox = $oParams->getStringList('viewbox'); if ($aViewbox) { if (count($aViewbox) != 4) { - userError("Bad parmater 'viewbox'. Expected 4 coordinates."); + userError("Bad parameter 'viewbox'. Expected 4 coordinates."); } $this->setViewBox($aViewbox); } else {