diff options
author | brettp <brettp@36083f99-b078-4883-b0ff-0f9b5a30f544> | 2010-05-24 16:21:12 +0000 |
---|---|---|
committer | brettp <brettp@36083f99-b078-4883-b0ff-0f9b5a30f544> | 2010-05-24 16:21:12 +0000 |
commit | 2629f186bb9af7dabf1413e4d5184c7ca617af64 (patch) | |
tree | 7da53072b6bf6e5d54db3194b5e53a341efc501e | |
parent | 71d9a324d569060848f07e582e5aadf6de468a97 (diff) | |
download | elgg-2629f186bb9af7dabf1413e4d5184c7ca617af64.tar.gz elgg-2629f186bb9af7dabf1413e4d5184c7ca617af64.tar.bz2 |
Blogs only show up in the river if in published state.
git-svn-id: http://code.elgg.org/elgg/trunk@6175 36083f99-b078-4883-b0ff-0f9b5a30f544
-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 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); |