From 89edd4d3ff307d79b82a3eb196b6bdad5be26804 Mon Sep 17 00:00:00 2001 From: Tim Almdal Date: Mon, 2 Feb 2009 15:36:43 +0000 Subject: Fix trac issue: #31 --- modules/comment/controllers/admin_comments.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'modules/comment/controllers') 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()); } } } -- cgit v1.2.3