form_helper, form_multiselect bug. #1613

Closed
keatliang2005 opened this Issue Jul 13, 2012 · 0 comments

Projects

None yet

2 participants

@keatliang2005

When the group array don't have anything, it will literally convert array string.

<?= form_multiselect('lala[]', 
        array(
            'group1' => array(1,2,3,4),
            'group2' => array()             #this will convert into string...
        ), 
        array(1,2) ) 
?>
@narfbg narfbg added a commit that referenced this issue Jul 13, 2012
@narfbg narfbg Fix issue #1613 6b114ae
@narfbg narfbg closed this Jul 13, 2012
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment