diff options
Diffstat (limited to 'mod/blog/actions/blog/save.php')
-rw-r--r-- | mod/blog/actions/blog/save.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/mod/blog/actions/blog/save.php b/mod/blog/actions/blog/save.php index 910da9838..9256610cc 100644 --- a/mod/blog/actions/blog/save.php +++ b/mod/blog/actions/blog/save.php @@ -160,7 +160,7 @@ if (!$error) { // we only want notifications sent when post published register_notification_object('object', 'blog', elgg_echo('blog:newpost')); - elgg_trigger_event('publish', 'blog', $blog); + elgg_trigger_event('publish', 'object', $blog); // reset the creation time for posts that move from draft to published if ($guid) { |