Back to swiftlet.org | To report bugs, please use the issue tracker at GitHub.
on this page : http://swiftlet.org/docs/?form
if ( $model->form->errors )
{
if ( $model->form->errors['email'] )
{
$view->error = 'Please provide a valid e-mail address.';
}
}
shouldn't this be :
if ( $model->form->errors )
{
if ( isset($model->form->errors['email']) )
{
$view->error = 'Please provide a valid e-mail address.';
}
}
As the key 'email' only exists if there is an error, however when something else is wrong (in that example, name) this would result in an error
It looks like you're new here. If you want to get involved, click one of these buttons!