diff options
Diffstat (limited to 'system/helpers')
-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 a67ea050d..1d2cb8604 100644 --- a/system/helpers/form_helper.php +++ b/system/helpers/form_helper.php @@ -229,7 +229,7 @@ function form_dropdown($name = '', $options = array(), $selected = array(), $ext }
if ($extra != '') $extra = ' '.$extra;
- $multiple = (count($selected > 1))?' multiple="multiple"':'';
+ $multiple = (count($selected) > 1)?' multiple="multiple"':'';
$form = '<select name="'.$name.'"'.$extra.$multiple.">\n";
|