summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--og.module4
1 files changed, 2 insertions, 2 deletions
diff --git a/og.module b/og.module
index 5561246..afb3aa2 100644
--- a/og.module
+++ b/og.module
@@ -1594,9 +1594,9 @@ function og_node_delete_group_form(&$form) {
$options = og_all_groups_options();
unset($options[$form['nid']['#value']]);
$form['target'] = array('#type' => 'select', '#title' => t('Target group'), '#default_value' => 0, '#options' => $options, '#weight' => 0, '#description' => t('If you chose <b>Move all group posts</b> above, specify a destination group.'));
- // register a submit handler
- $form['#submit']['og_node_delete_confirm_submit'] = array();
}
+ // register a submit handler
+ $form['#submit']['og_node_delete_confirm_submit'] = array();
$form['actions']['submit']['#value'] = t('Delete group');
}