From 50244f943d0a14e3d7a7fcbe7f51d02dbe039879 Mon Sep 17 00:00:00 2001 From: friendica Date: Wed, 19 Nov 2014 16:29:35 -0800 Subject: minor photo flag issue - and some more whitespace edits --- include/permissions.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'include/permissions.php') diff --git a/include/permissions.php b/include/permissions.php index 0ad28b3f1..b078de4d5 100644 --- a/include/permissions.php +++ b/include/permissions.php @@ -257,7 +257,7 @@ function perm_is_allowed($uid,$observer_xchan,$permission) { $channel_perm = $global_perms[$permission][0]; - $r = q("select %s, channel_hash from channel where channel_id = %d limit 1", + $r = q("select %s, channel_pageflags, channel_hash from channel where channel_id = %d limit 1", dbesc($channel_perm), intval($uid) ); -- cgit v1.2.3