diff options
Diffstat (limited to 'modules/comment/comment.module')
-rw-r--r-- | modules/comment/comment.module | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/modules/comment/comment.module b/modules/comment/comment.module index 03f19f371..05f3ef70f 100644 --- a/modules/comment/comment.module +++ b/modules/comment/comment.module @@ -813,6 +813,9 @@ function comment_save($edit) { if ($status == COMMENT_NOT_PUBLISHED) { drupal_set_message(t('Your comment has been queued for moderation by site administrators and will be published after approval.')); } + else { + comment_invoke_comment($edit, 'publish'); + } return $edit['cid']; } else { |