diff --git a/modules/comment.module b/modules/comment.module index 3de38864d2e934114e66cb7b76f83052cb3a895a..7889f51a2f3d48fab6af4ef21cb4fa6c509b97d1 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.