summaryrefslogtreecommitdiff
path: root/program/include
diff options
context:
space:
mode:
authoralecpl <alec@alec.pl>2011-09-17 16:46:31 +0000
committeralecpl <alec@alec.pl>2011-09-17 16:46:31 +0000
commit30f50556c130e272d9eb6ddcd11ea70a18a4e711 (patch)
tree576a705051757cae3dde8c47ce1380fdcc6e3a0e /program/include
parent784c0cf54c65967b5fe4e666ecab1d94a4f4e022 (diff)
- Fix locked folder rename option on servers supporting RFC2086 only (#1488089)
Diffstat (limited to 'program/include')
-rw-r--r--program/include/rcube_imap.php3
1 files changed, 2 insertions, 1 deletions
diff --git a/program/include/rcube_imap.php b/program/include/rcube_imap.php
index 8c904561d..d9549affd 100644
--- a/program/include/rcube_imap.php
+++ b/program/include/rcube_imap.php
@@ -3500,7 +3500,8 @@ class rcube_imap
}
if (!empty($options['rights'])) {
- $options['norename'] = !in_array('x', $options['rights']);
+ $options['norename'] = !in_array('x', $options['rights']) && !in_array('d', $options['rights']);
+
if (!$options['noselect']) {
$options['noselect'] = !in_array('r', $options['rights']);
}