diff --git a/includes/webform.components.inc b/includes/webform.components.inc index 5ddf847..23cea10 100644 --- a/includes/webform.components.inc +++ b/includes/webform.components.inc @@ -20,9 +20,7 @@ function webform_components_page($node, $mode = 'auto', $page_number = 1) { module_load_include('inc', 'webform', 'includes/webform.form_builder'); $mode = 'form_builder'; $output = webform_form_builder_components($node); - } - - if ($mode == 'overview') { + } else { $output = drupal_get_form('webform_components_form', $node); }