From e428019170e2bf7a7a3e289f2479b6b4c1358f66 Mon Sep 17 00:00:00 2001 From: marc tobias Date: Thu, 8 Feb 2018 18:02:19 +0100 Subject: [PATCH] typo in error message --- lib/Geocode.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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 {