diff options
Diffstat (limited to 'viewalbum.php')
-rw-r--r-- | viewalbum.php | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/viewalbum.php b/viewalbum.php index 602963816..9342db1e6 100644 --- a/viewalbum.php +++ b/viewalbum.php @@ -19,6 +19,9 @@ else
set_page_owner($album->owner_guid);
+ // if this page belongs to a closed group, prevent anyone outside group from seeing
+ if (is_callable('group_gatekeeper')) group_gatekeeper();
+
$owner = page_owner_entity();
// setup group menu
|