aboutsummaryrefslogtreecommitdiff
path: root/mod/blog/actions
diff options
context:
space:
mode:
Diffstat (limited to 'mod/blog/actions')
-rw-r--r--mod/blog/actions/blog/save.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/mod/blog/actions/blog/save.php b/mod/blog/actions/blog/save.php
index db9ea77e8..46af1bafb 100644
--- a/mod/blog/actions/blog/save.php
+++ b/mod/blog/actions/blog/save.php
@@ -145,7 +145,7 @@ if (!$error) {
system_message(elgg_echo('blog:message:saved'));
// @todo do we want to alert on updates?
- if ($new_post) {
+ if ($new_post && $blog->status == 'published') {
add_to_river('river/object/blog/create', 'create', get_loggedin_userid(), $blog->getGUID());
}
forward($success_forward_url);