CodeIgniter
CodeIgniter copied to clipboard
form_helper: form_dropdown function array to string conversion
Hello,
In form_helper, form_dropdown when you pass an array contains (options, name, selected, extra) it assumes that extra is an array, then down the road it uses extra as a string.
If we could get this changed to be like other functions where extra can be an array or string it would be better
$extra = is_array($extra) ? _attributes_to_string($extra) : $extra;