diff --git ife/ife.module ife/ife.module index 0b0d2b3..0d220fe 100644 --- ife/ife.module +++ ife/ife.module @@ -224,6 +224,9 @@ function ife_form_validator($form, &$form_state) { * Function to recursivly go through a form and alter all valid field type elements */ function ife_filter_form(&$form, $display) { + if (!is_array($form)) { + return; + } //get all possible children $keys = element_children($form); $field_types = ife_field_types();