- Patch #1432732 by B-Prod, Jorrit: form error reporting fallback does not respect Drupal documentation.

8.0.x
Dries 2012-06-03 15:28:07 -04:00
parent ee8fbcf2f3
commit 1d994a7737
1 changed files with 1 additions and 1 deletions

View File

@ -378,7 +378,7 @@ function field_default_form_errors($entity_type, $entity, $field, $instance, $la
else {
// Make sure that errors are reported (even incorrectly flagged) if
// the widget module fails to implement hook_field_widget_error().
form_error($error_element, $error['error']);
form_error($error_element, $error['message']);
}
}
}