summaryrefslogtreecommitdiff
path: root/program/steps/settings
diff options
context:
space:
mode:
authorAleksander Machniak <alec@alec.pl>2014-03-22 14:55:12 +0100
committerAleksander Machniak <alec@alec.pl>2014-03-22 14:55:12 +0100
commit1597c8a0c2a8a35fa19ad710d0518ea30c7244c5 (patch)
treed0cce197edd306520d90be3e7101f118c052a031 /program/steps/settings
parentfbe5bc9ba2ad4960994885e84a118d0aaff4431f (diff)
Make sure parent folder selector always contains parent folder
of current folder, even if it does not exist
Diffstat (limited to 'program/steps/settings')
-rw-r--r--program/steps/settings/edit_folder.inc1
1 files changed, 1 insertions, 0 deletions
diff --git a/program/steps/settings/edit_folder.inc b/program/steps/settings/edit_folder.inc
index fc6b2cd16..6b7bd08d2 100644
--- a/program/steps/settings/edit_folder.inc
+++ b/program/steps/settings/edit_folder.inc
@@ -139,6 +139,7 @@ function rcmail_folder_form($attrib)
'unsubscribed' => true,
'skip_noinferiors' => true,
'exceptions' => $exceptions,
+ 'additional' => strlen($selected) ? array($selected) : null,
));
$form['props']['fieldsets']['location']['content']['path'] = array(