diff --git a/multiple_entity_form.module b/multiple_entity_form.module index 3bf3fe9..c0188ab 100644 --- a/multiple_entity_form.module +++ b/multiple_entity_form.module @@ -155,7 +155,7 @@ function multiple_entity_form_validate($form, &$form_state) { $function($entity_type, $entity, $errors); } - if ($errors) { + if (!empty($errors)) { // Pass field-level validation errors back to widgets for accurate error // flagging. foreach ($errors as $field_errors) {