aboutsummaryrefslogtreecommitdiffstats
path: root/Zotlabs/Module/Settings.php
diff options
context:
space:
mode:
authorredmatrix <git@macgirvin.com>2016-07-09 21:08:02 -0700
committerredmatrix <git@macgirvin.com>2016-07-09 21:08:02 -0700
commitc9db8c6857d8676b3eb3c19548eb303656dc5fff (patch)
treeb24726528d3fd98803fb481e350964f378fe6f28 /Zotlabs/Module/Settings.php
parent917a465ccd7dfa4992241b1e5d4418b3a31f1615 (diff)
downloadvolse-hubzilla-c9db8c6857d8676b3eb3c19548eb303656dc5fff.tar.gz
volse-hubzilla-c9db8c6857d8676b3eb3c19548eb303656dc5fff.tar.bz2
volse-hubzilla-c9db8c6857d8676b3eb3c19548eb303656dc5fff.zip
more permissions work
Diffstat (limited to 'Zotlabs/Module/Settings.php')
-rw-r--r--Zotlabs/Module/Settings.php5
1 files changed, 3 insertions, 2 deletions
diff --git a/Zotlabs/Module/Settings.php b/Zotlabs/Module/Settings.php
index 85da261fc..7f34f52b1 100644
--- a/Zotlabs/Module/Settings.php
+++ b/Zotlabs/Module/Settings.php
@@ -896,17 +896,18 @@ class Settings extends \Zotlabs\Web\Controller {
array( t('Anybody on the internet'), PERMS_PUBLIC)
);
+ $limits = \Zotlabs\Access\PermissionLimits::Get(local_channel());
foreach($global_perms as $k => $perm) {
$options = array();
foreach($perm_opts as $opt) {
$options[$opt[1]] = $opt[0];
}
- $permiss[] = array($k,$perm,$channel[$perm[0]],$perm[4],$options);
+ $permiss[] = array($k,$perm,$limits[$k],'',$options);
}
- // logger('permiss: ' . print_r($permiss,true));
+ //logger('permiss: ' . print_r($permiss,true));