From: marc tobias Date: Thu, 8 Feb 2018 17:02:19 +0000 (+0100) Subject: typo in error message X-Git-Tag: v3.2.0~132^2 X-Git-Url: https://git.openstreetmap.org/nominatim.git/commitdiff_plain/e428019170e2bf7a7a3e289f2479b6b4c1358f66 typo in error message --- diff --git a/lib/Geocode.php b/lib/Geocode.php index 6c5fb23e..f2b99bdb 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 {