Skip to content
Snippets Groups Projects
Commit 1b96051b authored by Angie Byron's avatar Angie Byron
Browse files

Issue #2080563 by mrsinguyen: Remove Unused local variable from...

Issue #2080563 by mrsinguyen: Remove Unused local variable  from /core/modules/comment/comment.admin.inc.
parent e4c33468
Branches
Tags
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
......@@ -213,7 +213,7 @@ function comment_admin_overview_submit($form, &$form_state) {
entity_delete_multiple('comment', $cids);
}
else {
foreach ($cids as $cid => $value) {
foreach ($cids as $value) {
$comment = comment_load($value);
if ($operation == 'unpublish') {
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment