$form->addElement('multiCheckbox', 'flags', array(
This is causing the error. flags
is kinda reserved word in Zend I guess. But I didn't get an error message and I have no other form elements or even variables called flags
.
When I rename this, it works!
$form->addElement('multiCheckbox', 'matchingFlags', array(