Validation Errors are not showing
-
I think I found a problem where the validation errors are not showing on version: 1.6.2.7.1
I believe the problem is in PDb_FormValidation.class.php the function: get_validation_errors() the faulty code is:
$error_messages[] = $error == 'nonmatching' ? sprintf( $this->error_messages[$error], $field_atts->title, Participants_Db::column_title( $field_atts->validation ) ) : sprintf( $this->error_messages[$error], $field_atts->title );
I believe it should be:
... $error != 'nonmatching' ...
Why I am not sure, is the code for that function has been significantly changed between this version and beta and I am not quite certain what the ‘nonmatching’ means?
- The topic ‘Validation Errors are not showing’ is closed to new replies.