summaryrefslogtreecommitdiffstats
path: root/system
diff options
context:
space:
mode:
authorDerek Allard <derek.allard@ellislab.com>2008-01-09 20:43:40 +0100
committerDerek Allard <derek.allard@ellislab.com>2008-01-09 20:43:40 +0100
commit56e5722f2861f0e4c2bd0c9bb4e9d5065dd0a5b0 (patch)
tree109608ff339dbe023b8a93223ed3a50f7791e0a6 /system
parente4e603b1083242fd08fc84e2cb29e998dddaee0c (diff)
bugfix
Diffstat (limited to 'system')
-rw-r--r--system/helpers/form_helper.php2
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";