1
0
mirror of https://github.com/e107inc/e107.git synced 2025-07-30 03:10:50 +02:00

trim all attributes of form elements

This commit is contained in:
SecretR
2012-12-01 17:52:06 +02:00
parent f70346980e
commit 887fba6379

View File

@@ -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);