summaryrefslogtreecommitdiff
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
parent784c0cf54c65967b5fe4e666ecab1d94a4f4e022 (diff)
- Fix locked folder rename option on servers supporting RFC2086 only (#1488089)
-rw-r--r--CHANGELOG1
-rw-r--r--program/include/rcube_imap.php3
2 files changed, 3 insertions, 1 deletions
diff --git a/CHANGELOG b/CHANGELOG
index 1d8b0b312..22d2d810c 100644
--- a/CHANGELOG
+++ b/CHANGELOG
@@ -1,6 +1,7 @@
CHANGELOG Roundcube Webmail
===========================
+- Fix locked folder rename option on servers supporting RFC2086 only (#1488089)
- Trigger 'new_messages' hook for all checked folders (#1488083)
- Fix session race conditions when composing new messages
- Fix encoding of LDAP contacts identifiers (#1488079)
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']);
}