summaryrefslogtreecommitdiff
path: root/program/steps/settings/save_folder.inc
diff options
context:
space:
mode:
authorThomas Bruederli <thomas@roundcube.net>2014-01-14 18:19:16 +0100
committerThomas Bruederli <thomas@roundcube.net>2014-01-14 18:19:16 +0100
commit7c28d45c8e9a448002595d26ca5cf88726b47123 (patch)
treef4f64489c8cde85b1d1fd16684253a1e2ccfb0ba /program/steps/settings/save_folder.inc
parentaa581c2912fa291c59605d876a6b37241a6a8b06 (diff)
Update class name in subscriptions folder list after saving folder properties
Diffstat (limited to 'program/steps/settings/save_folder.inc')
-rw-r--r--program/steps/settings/save_folder.inc3
1 files changed, 3 insertions, 0 deletions
diff --git a/program/steps/settings/save_folder.inc b/program/steps/settings/save_folder.inc
index f720735e0..d1449bb38 100644
--- a/program/steps/settings/save_folder.inc
+++ b/program/steps/settings/save_folder.inc
@@ -189,6 +189,9 @@ else if (!$error) {
rcmail_update_folder_row($folder['name'], $folder['oldname'], $folder['subscribe'], $folder['class']);
$OUTPUT->send('iframe');
}
+ else if (!empty($folder['class'])) {
+ rcmail_update_folder_row($folder['name'], $folder['oldname'], $folder['subscribe'], $folder['class']);
+ }
}
else {
// show error message