summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSteven Wittens <steven@10.no-reply.drupal.org>2004-10-18 20:10:18 +0000
committerSteven Wittens <steven@10.no-reply.drupal.org>2004-10-18 20:10:18 +0000
commitb2f8787c90ae7dae020337aaaa2987dcd78a7b9b (patch)
tree6766d44141001ff0c7944899662d1369c26def3c
parentf37f79d2c37c9fa356d81ef8fe8190b204f9b856 (diff)
downloadbrdo-b2f8787c90ae7dae020337aaaa2987dcd78a7b9b.tar.gz
brdo-b2f8787c90ae7dae020337aaaa2987dcd78a7b9b.tar.bz2
Comment deleting broken
-rw-r--r--modules/comment.module2
-rw-r--r--modules/comment/comment.module2
2 files changed, 2 insertions, 2 deletions
diff --git a/modules/comment.module b/modules/comment.module
index 3de38864d..7889f51a2 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.
diff --git a/modules/comment/comment.module b/modules/comment/comment.module
index 3de38864d..7889f51a2 100644
--- a/modules/comment/comment.module
+++ b/modules/comment/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.