From 3eacd7aab37421c40a5647aee9acdbc58615ab4e Mon Sep 17 00:00:00 2001 From: friendica Date: Sat, 2 Feb 2013 15:08:11 -0800 Subject: debugging the photo api --- mod/photos.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'mod/photos.php') diff --git a/mod/photos.php b/mod/photos.php index 101cb20b2..e74ced67c 100644 --- a/mod/photos.php +++ b/mod/photos.php @@ -65,7 +65,7 @@ function photos_post(&$a) { $page_owner_uid = $a->data['channel']['channel_id']; - if($a->perms['post_photos']) + if(perm_is_allowed($page_owner_uid,get_observer_hash(),'post_photos')) $can_post = true; if(! $can_post) { -- cgit v1.2.3