Since upgrading Easy Forms to 4.2.6, one of my forms isn't working properly. This section of the before submit isn't catching:
PHP Code:
if (stristr($qo['88'], "Large")) {
$form['forumid'] = 112;
}
elseif (stristr($qo['88'], "Mini") ) {
$form['forumid'] = 113;
}
elseif(stristr($qo['88'], "Tiny")) {
$form['forumid'] = 114;
}
I haven't changed anything else (and other parts of the same before submit are working)... how can I fix this?
ETA: Fixed it... changing the $form['forumid'] to just $forumid seems to have corrected it. Can anyone tell me why this happened? I'm happy to have figured it out through trial and error, but I would love to learn.