aboutsummaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
authorMario <mario@mariovavti.com>2021-10-30 09:04:50 +0000
committerMario <mario@mariovavti.com>2021-10-30 09:04:50 +0000
commitacfa527e3e3a4cfa44a8f5148c3409a284b7f253 (patch)
treeac913f11e234a09ea8ee487269d1d038063735c0 /include
parentbd116c53a11c27364b8f902652ce53ba7406e053 (diff)
downloadvolse-hubzilla-acfa527e3e3a4cfa44a8f5148c3409a284b7f253.tar.gz
volse-hubzilla-acfa527e3e3a4cfa44a8f5148c3409a284b7f253.tar.bz2
volse-hubzilla-acfa527e3e3a4cfa44a8f5148c3409a284b7f253.zip
css fixes
Diffstat (limited to 'include')
-rw-r--r--include/permissions.php2
1 files changed, 2 insertions, 0 deletions
diff --git a/include/permissions.php b/include/permissions.php
index 33b385490..9e432ce51 100644
--- a/include/permissions.php
+++ b/include/permissions.php
@@ -50,6 +50,7 @@ function get_all_perms($uid, $observer_xchan, $check_siteblock = true, $default_
// First find out what the channel owner declared permissions to be.
$channel_perm = intval(\Zotlabs\Access\PermissionLimits::Get($uid,$perm_name));
+hz_syslog(print_r($channel_perm,true));
if(! $channel_checked) {
$r = q("select * from channel where channel_id = %d limit 1",
@@ -242,6 +243,7 @@ function get_all_perms($uid, $observer_xchan, $check_siteblock = true, $default_
call_hooks('get_all_perms',$arr);
+
return $arr['permissions'];
}