From ec00c5b18a1efea64517b18fa12bb9df6f0b95f7 Mon Sep 17 00:00:00 2001 From: redmatrix Date: Sun, 19 Jul 2015 17:53:52 -0700 Subject: the view_photos and post_photos permissions are redundant and are now mapped to view_storage and write_storage --- include/widgets.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'include/widgets.php') diff --git a/include/widgets.php b/include/widgets.php index c79d2a6c0..6c1df3022 100644 --- a/include/widgets.php +++ b/include/widgets.php @@ -604,7 +604,7 @@ function widget_photo_albums($arr) { if(! $a->profile['profile_uid']) return ''; $channelx = channelx_by_n($a->profile['profile_uid']); - if((! $channelx) || (! perm_is_allowed($a->profile['profile_uid'], get_observer_hash(), 'view_photos'))) + if((! $channelx) || (! perm_is_allowed($a->profile['profile_uid'], get_observer_hash(), 'view_storage'))) return ''; require_once('include/photos.php'); -- cgit v1.2.3