typo in error message

This commit is contained in:
marc tobias
2018-02-08 18:02:19 +01:00
parent 7b3fb23216
commit e428019170

View File

@@ -225,14 +225,14 @@ class Geocode
$aViewbox = $oParams->getStringList('viewboxlbrt'); $aViewbox = $oParams->getStringList('viewboxlbrt');
if ($aViewbox) { if ($aViewbox) {
if (count($aViewbox) != 4) { if (count($aViewbox) != 4) {
userError("Bad parmater 'viewboxlbrt'. Expected 4 coordinates."); userError("Bad parameter 'viewboxlbrt'. Expected 4 coordinates.");
} }
$this->setViewbox($aViewbox); $this->setViewbox($aViewbox);
} else { } else {
$aViewbox = $oParams->getStringList('viewbox'); $aViewbox = $oParams->getStringList('viewbox');
if ($aViewbox) { if ($aViewbox) {
if (count($aViewbox) != 4) { if (count($aViewbox) != 4) {
userError("Bad parmater 'viewbox'. Expected 4 coordinates."); userError("Bad parameter 'viewbox'. Expected 4 coordinates.");
} }
$this->setViewBox($aViewbox); $this->setViewBox($aViewbox);
} else { } else {