From 3b22e2f5f508cb5e45ae426210e5ca9fe9115417 Mon Sep 17 00:00:00 2001 From: friendica Date: Wed, 5 Nov 2014 16:21:03 -0800 Subject: 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. --- mod/settings.php | 1 + 1 file changed, 1 insertion(+) (limited to 'mod/settings.php') 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) { -- cgit v1.2.3