From 30f50556c130e272d9eb6ddcd11ea70a18a4e711 Mon Sep 17 00:00:00 2001 From: alecpl Date: Sat, 17 Sep 2011 16:46:31 +0000 Subject: - Fix locked folder rename option on servers supporting RFC2086 only (#1488089) --- program/include/rcube_imap.php | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'program/include/rcube_imap.php') 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']); } -- cgit v1.2.3