diff options
author | Derek Allard <derek.allard@ellislab.com> | 2008-01-16 00:58:19 +0100 |
---|---|---|
committer | Derek Allard <derek.allard@ellislab.com> | 2008-01-16 00:58:19 +0100 |
commit | 76708b780c558c0d5db1efd8e11787269e0507e3 (patch) | |
tree | 5ecc71b401de9c11ab606f658ec816996e75aa0c /system/helpers/form_helper.php | |
parent | 305f63b920acb8f58125f932f7462c1b71ba18c4 (diff) |
bug(re)fix: I am so smart. s - m - r - t
Diffstat (limited to 'system/helpers/form_helper.php')
-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 7c3bc9d81..9f3509d51 100644 --- a/system/helpers/form_helper.php +++ b/system/helpers/form_helper.php @@ -231,7 +231,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";
|