]> gitweb.fluxo.info Git - lorea/elgg.git/commitdiff
Fixes #3793 blogs respect closed groups for main index page
authorcash <cash.costello@gmail.com>
Wed, 5 Oct 2011 02:56:15 +0000 (22:56 -0400)
committercash <cash.costello@gmail.com>
Wed, 5 Oct 2011 02:56:15 +0000 (22:56 -0400)
mod/blog/lib/blog.php

index b7b1a2baa8a867137058aaff35dadabf0cafe611..f24e6f58d64a4f30fe7b7926dc27f61c81836fe3 100644 (file)
@@ -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) {