diff options
author | Mario Vavti <mario@mariovavti.com> | 2021-02-02 10:58:10 +0100 |
---|---|---|
committer | Mario Vavti <mario@mariovavti.com> | 2021-02-02 10:58:10 +0100 |
commit | f3f49cf80f2441d576d825f116afdb5a66bb7c54 (patch) | |
tree | 220f72c418ab07b971de85d431ccb15c671b13e8 /include/permissions.php | |
parent | 8b78e18fb8ade1d04dbf2e5152288f6982a462df (diff) | |
download | volse-hubzilla-f3f49cf80f2441d576d825f116afdb5a66bb7c54.tar.gz volse-hubzilla-f3f49cf80f2441d576d825f116afdb5a66bb7c54.tar.bz2 volse-hubzilla-f3f49cf80f2441d576d825f116afdb5a66bb7c54.zip |
fix php8 issues
Diffstat (limited to 'include/permissions.php')
-rw-r--r-- | include/permissions.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/include/permissions.php b/include/permissions.php index ca8ff6e93..c7eee11f4 100644 --- a/include/permissions.php +++ b/include/permissions.php @@ -279,7 +279,7 @@ function perm_is_allowed($uid, $observer_xchan, $permission, $check_siteblock = // First find out what the channel owner declared permissions to be. - $channel_perm = \Zotlabs\Access\PermissionLimits::Get($uid,$permission); + $channel_perm = intval(\Zotlabs\Access\PermissionLimits::Get($uid,$permission)); $r = q("select channel_pageflags, channel_moved, channel_hash from channel where channel_id = %d limit 1", intval($uid) |