From ff75f99e734b6b99da77ba946e953f08a6e81a5b Mon Sep 17 00:00:00 2001 From: cash Date: Mon, 10 Oct 2011 20:25:20 -0400 Subject: Refs #3916 added checks to all content plugins in master for page owner in mine and friends pages --- mod/blog/lib/blog.php | 3 +++ 1 file changed, 3 insertions(+) (limited to 'mod/blog/lib/blog.php') 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(); -- cgit v1.2.3