summaryrefslogtreecommitdiff
path: root/modules/comment/controllers/admin_comments.php
diff options
context:
space:
mode:
authorTim Almdal <tnalmdal@shaw.ca>2009-02-02 15:36:43 +0000
committerTim Almdal <tnalmdal@shaw.ca>2009-02-02 15:36:43 +0000
commit89edd4d3ff307d79b82a3eb196b6bdad5be26804 (patch)
tree0c3c67b77c323a7d10b9d844584a40a40a6e445e /modules/comment/controllers/admin_comments.php
parent9e01c80ef477c9c916f3f1c1b572d43ce663b148 (diff)
Fix trac issue: #31
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());
}
}
}