diff --git a/e107_handlers/form_handler.php b/e107_handlers/form_handler.php index 68ffa352f..913c2ff49 100644 --- a/e107_handlers/form_handler.php +++ b/e107_handlers/form_handler.php @@ -1190,7 +1190,9 @@ class e_form // foreach ($options as $option => $optval) { - switch ($option) { + $optval = trim($optval); + switch ($option) + { case 'id': $ret .= $this->_format_id($optval, $name, $value);