summaryrefslogtreecommitdiffstats
path: root/system/helpers/form_helper.php
diff options
context:
space:
mode:
authorBrennan Thompson <brenjt@gmail.com>2014-02-17 03:22:54 +0100
committerBrennan Thompson <brenjt@gmail.com>2014-02-17 03:22:54 +0100
commit7a772e5b4a145eef7457d5a1667d716348ea071b (patch)
treedae2b52c2b45ab810d3b3ca60569f2d097ffc2f4 /system/helpers/form_helper.php
parent21ef97ecfaef8392ded81606ada2e4bbdc7e064c (diff)
Removed non permitted changes
Diffstat (limited to 'system/helpers/form_helper.php')
-rw-r--r--system/helpers/form_helper.php4
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;