From e184dfed80c2709664f0f9aff3558d4f19e5a656 Mon Sep 17 00:00:00 2001 From: Dries Buytaert <dries@buytaert.net> Date: Mon, 18 Oct 2004 20:13:56 +0000 Subject: [PATCH] - Fixed problem with comment deleting. Patch by UnConeD. --- modules/comment.module | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/modules/comment.module b/modules/comment.module index 3de38864d2e9..7889f51a2f3d 100644 --- a/modules/comment.module +++ b/modules/comment.module @@ -990,7 +990,7 @@ function comment_delete($cid) { // We'll only delete if the user has confirmed the // deletion using the form in our else clause below. - if ($comment->cid && $_POST['op'] == t('Delete comment')) { + if ($comment->cid && $_POST['op'] == t('Delete')) { drupal_set_message(t('The comment and all its replies have been deleted.')); // Delete comment and its replies. -- GitLab