diff options
-rw-r--r-- | system/helpers/form_helper.php | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/system/helpers/form_helper.php b/system/helpers/form_helper.php index 0cc5bd157..4700da7d7 100644 --- a/system/helpers/form_helper.php +++ b/system/helpers/form_helper.php @@ -316,9 +316,8 @@ if ( ! function_exists('form_dropdown')) { isset($name['options']) OR $name['options'] = array(); isset($name['selected']) OR $name['selected'] = array(); - isset($name['extra']) OR $name['extra'] = array(); - return form_dropdown($name['name'], $name['options'], $name['selected'], $name['extra']); + return form_dropdown($name['name'], $name['options'], $name['selected'], $extra); } is_array($selected) OR $selected = array($selected); |