diff options
Diffstat (limited to 'views/default')
-rw-r--r-- | views/default/photos/group_module.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/views/default/photos/group_module.php b/views/default/photos/group_module.php index aa0e7b3ff..de7a451c4 100644 --- a/views/default/photos/group_module.php +++ b/views/default/photos/group_module.php @@ -3,7 +3,7 @@ * Group blog module */ -$group = elgg_get_page_owner_entity(); +$group = $vars['entity']; if ($group->photos_enable == "no") { return true; |