summaryrefslogtreecommitdiff
path: root/modules/comment/controllers/admin_comments.php
diff options
context:
space:
mode:
Diffstat (limited to 'modules/comment/controllers/admin_comments.php')
-rw-r--r--modules/comment/controllers/admin_comments.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/modules/comment/controllers/admin_comments.php b/modules/comment/controllers/admin_comments.php
index c4bdb92b..cd408421 100644
--- a/modules/comment/controllers/admin_comments.php
+++ b/modules/comment/controllers/admin_comments.php
@@ -127,7 +127,7 @@ class Admin_Comments_Controller extends Admin_Controller {
$comment->save();
module::event("comment_updated", $orig, $comment);
if ($orig->state == "published" || $comment->state == "published") {
- module::event("item_related_update", $comment->item);
+ module::event("item_related_update", $comment->item());
}
}
}