From 0f7ae214b37c2bcf6f7c0af82ec68b7c9224cfaf Mon Sep 17 00:00:00 2001 From: cash Date: Tue, 4 Oct 2011 22:56:15 -0400 Subject: Fixes #3793 blogs respect closed groups for main index page --- 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 b7b1a2baa..f24e6f58d 100644 --- a/mod/blog/lib/blog.php +++ b/mod/blog/lib/blog.php @@ -67,6 +67,9 @@ function blog_get_page_content_list($container_guid = NULL) { $loggedin_userid = elgg_get_logged_in_user_guid(); if ($container_guid) { + // access check for closed groups + group_gatekeeper(); + $options['container_guid'] = $container_guid; $container = get_entity($container_guid); if (!$container) { -- cgit v1.2.3