diff options
author | cash <cash.costello@gmail.com> | 2011-10-10 20:25:20 -0400 |
---|---|---|
committer | cash <cash.costello@gmail.com> | 2011-10-10 20:25:20 -0400 |
commit | ff75f99e734b6b99da77ba946e953f08a6e81a5b (patch) | |
tree | 2f4c2cd44b740e5657b6116ac2ced2b23d774947 /mod/blog/lib/blog.php | |
parent | 1e4c47b736718ecb18a4367657e147e412fab06e (diff) | |
download | elgg-ff75f99e734b6b99da77ba946e953f08a6e81a5b.tar.gz elgg-ff75f99e734b6b99da77ba946e953f08a6e81a5b.tar.bz2 |
Refs #3916 added checks to all content plugins in master for page owner in mine and friends pages
Diffstat (limited to 'mod/blog/lib/blog.php')
-rw-r--r-- | mod/blog/lib/blog.php | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/mod/blog/lib/blog.php b/mod/blog/lib/blog.php index f24e6f58d..41924f336 100644 --- a/mod/blog/lib/blog.php +++ b/mod/blog/lib/blog.php @@ -124,6 +124,9 @@ function blog_get_page_content_list($container_guid = NULL) { function blog_get_page_content_friends($user_guid) { $user = get_user($user_guid); + if (!$user) { + forward('blog/all'); + } $return = array(); |