aboutsummaryrefslogtreecommitdiff
path: root/mod/blog
diff options
context:
space:
mode:
authorcash <cash.costello@gmail.com>2011-10-04 22:56:15 -0400
committercash <cash.costello@gmail.com>2011-10-04 22:56:15 -0400
commit0f7ae214b37c2bcf6f7c0af82ec68b7c9224cfaf (patch)
tree2d8e9cf4fcd198734e809b0b4080e5154ff74f15 /mod/blog
parent600c18e65f00f0cff6e31f8c3adfaac29ee1fe0d (diff)
downloadelgg-0f7ae214b37c2bcf6f7c0af82ec68b7c9224cfaf.tar.gz
elgg-0f7ae214b37c2bcf6f7c0af82ec68b7c9224cfaf.tar.bz2
Fixes #3793 blogs respect closed groups for main index page
Diffstat (limited to 'mod/blog')
-rw-r--r--mod/blog/lib/blog.php3
1 files changed, 3 insertions, 0 deletions
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) {