diff --git a/webform_conditional.module b/webform_conditional.module index 6bf2f78..7d9c0be 100644 --- a/webform_conditional.module +++ b/webform_conditional.module @@ -416,7 +416,7 @@ function _webform_conditional_possible_trigger_components($nid, $cid, $return_gr $new_component = empty($cid); $trigger_types = webform_conditional_trigger_types(); - $get_component_types = array_merge($trigger_types, 'pagebreak', 'fieldset'); + $get_component_types = array_merge($trigger_types, array('pagebreak', 'fieldset')); //** all a fieldset can't be dependent on a field contained in itself(check pid) $query = db_select('webform_component', 'w') ->fields('w', array('name', 'form_key', 'type', 'extra', 'cid', 'weight', 'pid'))