diff options
author | Tim Almdal <tnalmdal@shaw.ca> | 2009-02-02 15:36:43 +0000 |
---|---|---|
committer | Tim Almdal <tnalmdal@shaw.ca> | 2009-02-02 15:36:43 +0000 |
commit | 89edd4d3ff307d79b82a3eb196b6bdad5be26804 (patch) | |
tree | 0c3c67b77c323a7d10b9d844584a40a40a6e445e | |
parent | 9e01c80ef477c9c916f3f1c1b572d43ce663b148 (diff) |
Fix trac issue: #31
-rw-r--r-- | modules/comment/controllers/admin_comments.php | 2 |
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()); } } } |