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:
@@ -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);
|
||||
|
Reference in New Issue
Block a user