From 98e0f16836fa3ab9df22a4704ba1fd493e9daefe Mon Sep 17 00:00:00 2001 From: Christian Landvogt Date: Fri, 13 Dec 2019 12:20:06 +0100 Subject: [PATCH] fix special folder not updated for main identity --- ident_switch.php | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/ident_switch.php b/ident_switch.php index 043718c..aa7521a 100644 --- a/ident_switch.php +++ b/ident_switch.php @@ -488,8 +488,16 @@ class ident_switch extends rcube_plugin $args['abort'] = true; $args['result'] = false; + return $args; } + foreach (rcube_storage::$folder_types as $type) + { + if ($args['prefs'][$type . '_mbox']) { + $key = $type . '_mbox_default' . self::MY_POSTFIX; + $_SESSION[$key] = $args['prefs'][$type . '_mbox']; + } + } return $args; }