fix special folder not updated for main identity

This commit is contained in:
Christian Landvogt
2019-12-13 12:20:06 +01:00
parent f1d2e3193a
commit 98e0f16836

View File

@@ -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;
}