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

Documentation Fix Needed #2412

Closed
rhays816 opened this issue Nov 17, 2019 · 1 comment
Closed

Documentation Fix Needed #2412

rhays816 opened this issue Nov 17, 2019 · 1 comment

Comments

@rhays816
Copy link

rhays816 commented Nov 17, 2019

#1613 the Validation Library @ Check If Error Exists.
You have:

Check If Error Exists
You can check to see if an error exists with the hasError() method. The only parameter is the field name:

if ($validation->hasError('username') { echo $validation->getError('username'); }

The code is missing the last parentheses in if statement.
Should be:

if ($validation->hasError('username')) { echo $validation->getError('username'); }

@musmanikram
Copy link
Contributor

@lonnieezell can you please close this bug? Fix has been merged into develop

@MGatner MGatner closed this as completed Nov 20, 2019
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

3 participants