mirror of
https://github.com/e107inc/e107.git
synced 2025-08-02 04:40:44 +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)
|
foreach ($options as $option => $optval)
|
||||||
{
|
{
|
||||||
switch ($option) {
|
$optval = trim($optval);
|
||||||
|
switch ($option)
|
||||||
|
{
|
||||||
|
|
||||||
case 'id':
|
case 'id':
|
||||||
$ret .= $this->_format_id($optval, $name, $value);
|
$ret .= $this->_format_id($optval, $name, $value);
|
||||||
|
Reference in New Issue
Block a user