diff options
Diffstat (limited to 'system')
-rw-r--r-- | system/helpers/form_helper.php | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/system/helpers/form_helper.php b/system/helpers/form_helper.php index 9fd5d1e61..2c1a639df 100644 --- a/system/helpers/form_helper.php +++ b/system/helpers/form_helper.php @@ -287,8 +287,6 @@ if ( ! function_exists('form_multiselect')) */ function form_multiselect($name = '', $options = array(), $selected = array(), $extra = '') { - $extra = _attributes_to_string($extra); - if ( ! strpos($extra, 'multiple')) { $extra .= ' multiple="multiple"'; @@ -931,7 +929,7 @@ if ( ! function_exists('_attributes_to_string')) if (is_string($attributes)) { - return $attributes; + return ' '.$attributes; } return FALSE; |