We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents 01878e9 + 9cedcd5 commit 6a76a77Copy full SHA for 6a76a77
1 file changed
user_guide_src/source/libraries/validation.rst
@@ -480,7 +480,7 @@ Check If Error Exists
480
481
You can check to see if an error exists with the ``hasError()`` method. The only parameter is the field name::
482
483
- if ($validation->hasError('username')
+ if ($validation->hasError('username'))
484
{
485
echo $validation->getError('username');
486
}
0 commit comments