diff options
Diffstat (limited to 'modules/comment/controllers/admin_comments.php')
-rw-r--r-- | modules/comment/controllers/admin_comments.php | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/modules/comment/controllers/admin_comments.php b/modules/comment/controllers/admin_comments.php index 68ede43d..c4bdb92b 100644 --- a/modules/comment/controllers/admin_comments.php +++ b/modules/comment/controllers/admin_comments.php @@ -126,6 +126,9 @@ class Admin_Comments_Controller extends Admin_Controller { $comment->state = $state; $comment->save(); module::event("comment_updated", $orig, $comment); + if ($orig->state == "published" || $comment->state == "published") { + module::event("item_related_update", $comment->item); + } } } |