aboutsummaryrefslogtreecommitdiffstats
path: root/mod
diff options
context:
space:
mode:
authorfriendica <info@friendica.com>2014-11-05 16:21:03 -0800
committerfriendica <info@friendica.com>2014-11-05 16:21:03 -0800
commit3b22e2f5f508cb5e45ae426210e5ca9fe9115417 (patch)
tree93790ebab894b1133eac146f372810aae422cf79 /mod
parentb16ee29cc338236264e62cf40248f54a1f785dbd (diff)
downloadvolse-hubzilla-3b22e2f5f508cb5e45ae426210e5ca9fe9115417.tar.gz
volse-hubzilla-3b22e2f5f508cb5e45ae426210e5ca9fe9115417.tar.bz2
volse-hubzilla-3b22e2f5f508cb5e45ae426210e5ca9fe9115417.zip
some minor cleanup of unreported (and as yet undiscovered) issues with permissions toggling. No smoking guns and no obvious issues discovered here. Repeated and tried to duplicate zottell's issue as described without seeing any obvious problems.
Diffstat (limited to 'mod')
-rw-r--r--mod/settings.php1
1 files changed, 1 insertions, 0 deletions
diff --git a/mod/settings.php b/mod/settings.php
index 253e801a8..309be0797 100644
--- a/mod/settings.php
+++ b/mod/settings.php
@@ -337,6 +337,7 @@ function settings_post(&$a) {
intval(local_user()),
intval(ABOOK_FLAG_SELF)
);
+ set_pconfig(local_user(),'system','autoperms',(($role_permissions['perms_auto']) ? intval($role_permissions['perms_accept']) : 0));
foreach($role_permissions as $p => $v) {
if(strpos($p,'channel_') !== false) {