Commit b339b47f authored by Dries's avatar Dries
Browse files

- Patch #199510 by Pancho: fixed form API conversions.

parent b4f2f168
......@@ -206,7 +206,7 @@ function comment_multiple_delete_confirm_submit($form, &$form_state) {
cache_clear_all();
drupal_set_message(t('The comments have been deleted.'));
}
return 'admin/content/comment';
$form_state['redirect'] = 'admin/content/comment';
}
/**
......@@ -267,7 +267,6 @@ function comment_confirm_delete_submit($form, &$form_state) {
cache_clear_all();
$form_state['redirect'] = "node/$comment->nid";
return;
}
/**
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment