Skip to content
Snippets Groups Projects
Commit 1d994a77 authored by Dries Buytaert's avatar Dries Buytaert
Browse files

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

- Patch #1432732 by B-Prod, Jorrit: form error reporting fallback does not respect Drupal documentation.
parent ee8fbcf2
No related branches found
No related tags found
No related merge requests found
...@@ -378,7 +378,7 @@ function field_default_form_errors($entity_type, $entity, $field, $instance, $la ...@@ -378,7 +378,7 @@ function field_default_form_errors($entity_type, $entity, $field, $instance, $la
else { else {
// Make sure that errors are reported (even incorrectly flagged) if // Make sure that errors are reported (even incorrectly flagged) if
// the widget module fails to implement hook_field_widget_error(). // the widget module fails to implement hook_field_widget_error().
form_error($error_element, $error['error']); form_error($error_element, $error['message']);
} }
} }
} }
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment