CodeIgniter Forums
form_dropdown multiple bug - Printable Version

+- CodeIgniter Forums (https://forum.codeigniter.com)
+-- Forum: Archived Discussions (https://forum.codeigniter.com/forumdisplay.php?fid=20)
+--- Forum: Archived Development & Programming (https://forum.codeigniter.com/forumdisplay.php?fid=23)
+--- Thread: form_dropdown multiple bug (/showthread.php?tid=5275)



form_dropdown multiple bug - El Forum - 01-15-2008

[eluser]Seppo[/eluser]
In the current SVN version, in form_helper.php line 234 I have

Code:
$multiple = (count($selected > 1))?' multiple="multiple"':'';

I think it should be

Code:
$multiple = (count($selected) > 1)?' multiple="multiple"':'';



form_dropdown multiple bug - El Forum - 01-15-2008

[eluser]Derek Allard[/eluser]
Quote:bug(re)fix: I am so smart. s - m - r - t
thanks...