diff --git a/includes/content.node_form.inc b/includes/content.node_form.inc index 7f5b166..1d2e4f7 100644 --- a/includes/content.node_form.inc +++ b/includes/content.node_form.inc @@ -348,7 +348,9 @@ function content_multiple_value_nodeapi_validate(&$node, $field, &$items, $form) // Getting the field structure from the form allows other modules alter // field properties such as the required attribute. - $field = $form['#field_info'][$field_name]; + if (isset($form['#field_info'])) { + $field = $form['#field_info'][$field_name]; + } // Get rid of the add more items element. unset($items[$field_name .'_add_more']);