diff options
-rw-r--r-- | modules/comment.module | 2 | ||||
-rw-r--r-- | modules/comment/comment.module | 2 |
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. |