Commit e184dfed authored by Dries's avatar Dries

- Fixed problem with comment deleting. Patch by UnConeD.

parent 314a97ff
......@@ -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.
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment