Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

form_helper, form_multiselect bug. #1613

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

form_helper, form_multiselect bug. #1613

keatliang2005 opened this issue Jul 13, 2012 · 0 comments

Comments

@keatliang2005
Copy link

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 added a commit that referenced this issue Jul 13, 2012
@narfbg narfbg closed this as completed Jul 13, 2012
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants