diff options
Diffstat (limited to 'modules/trigger')
-rw-r--r-- | modules/trigger/trigger.admin.inc | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/modules/trigger/trigger.admin.inc b/modules/trigger/trigger.admin.inc index 7d6c2621e..02f9cff9d 100644 --- a/modules/trigger/trigger.admin.inc +++ b/modules/trigger/trigger.admin.inc @@ -21,17 +21,17 @@ function trigger_assign($type = NULL) { drupal_goto('admin/build/trigger/node'); } - $output = ''; + $build = array(); $hooks = module_invoke_all('hook_info'); foreach ($hooks as $module => $hook) { if (isset($hook[$type])) { foreach ($hook[$type] as $op => $description) { $form_id = 'trigger_' . $type . '_' . $op . '_assign_form'; - $output .= drupal_get_form($form_id, $type, $op, $description['runs when']); + $build[$form_id] = drupal_get_form($form_id, $type, $op, $description['runs when']); } } } - return $output; + return $build; } /** |