diff options
-rw-r--r-- | system/helpers/form_helper.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/system/helpers/form_helper.php b/system/helpers/form_helper.php index 23ce9d12d..0f85fdedd 100644 --- a/system/helpers/form_helper.php +++ b/system/helpers/form_helper.php @@ -336,7 +336,7 @@ if ( ! function_exists('form_dropdown')) $multiple = (count($selected) > 1 && strpos($extra, 'multiple') === FALSE) ? ' multiple="multiple"' : ''; - $form = '<select '._parse_form_attributes($data, $defaults).$extra.$multiple.">\n"; + $form = '<select '.rtrim(_parse_form_attributes($data, $defaults).$extra.$multiple).">\n"; foreach ($options as $key => $val) { |