We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
Call to Phalcon\Forms\Form::getMessages() fails if there are no form validation errors.
Phalcon\Forms\Form::getMessages() in the code below would raise PHP E_ERROR "The argument is not iterable()":
$form = new Phalcon\Forms\Form; $form->add(new Phalcon\Forms\Element\Text('name')); $form->isValid([ 'name' => 'John', ]); $form->getMessages();
If form fails validation $form->getMessages() works as expected.
Implement bug fix.
I am on Phalcon 1.3.0.
Thanks!
The text was updated successfully, but these errors were encountered:
1009a3d
No branches or pull requests
Call to Phalcon\Forms\Form::getMessages() fails if there are no form validation errors.
Phalcon\Forms\Form::getMessages() in the code below would raise PHP E_ERROR "The argument is not iterable()":
If form fails validation $form->getMessages() works as expected.
Implement bug fix.
I am on Phalcon 1.3.0.
Thanks!
The text was updated successfully, but these errors were encountered: