Skip to content
Snippets Groups Projects
Commit b339b47f authored by Dries Buytaert's avatar Dries Buytaert
Browse files

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

parent b4f2f168
No related branches found
No related tags found
2 merge requests!7452Issue #1797438. HTML5 validation is preventing form submit and not fully...,!789Issue #3210310: Adjust Database API to remove deprecated Drupal 9 code in Drupal 10
......@@ -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;
}
/**
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment