summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDries Buytaert2004-10-18 20:13:56 +0000
committerDries Buytaert2004-10-18 20:13:56 +0000
commite184dfed80c2709664f0f9aff3558d4f19e5a656 (patch)
treeb97157808c75e06730868abaea7220195782be1d
parent314a97ff40f9223a3f97151fa7da808b05e0da84 (diff)
- Fixed problem with comment deleting. Patch by UnConeD.4.5.0
-rw-r--r--modules/comment.module2
1 files changed, 1 insertions, 1 deletions
diff --git a/modules/comment.module b/modules/comment.module
index 3de3886..7889f51 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.