From d409a545c2ec28b57711c4a6ee6f66b4916932b7 Mon Sep 17 00:00:00 2001 From: Aleksander Machniak <alec@alec.pl> Date: Fri, 14 Sep 2012 08:31:39 -0400 Subject: [PATCH] Merge branch 'master' of github.com:roundcube/roundcubemail --- program/include/rcube_imap.php | 7 ++----- 1 files changed, 2 insertions(+), 5 deletions(-) diff --git a/program/include/rcube_imap.php b/program/include/rcube_imap.php index 0b2f84d..ebf31d5 100644 --- a/program/include/rcube_imap.php +++ b/program/include/rcube_imap.php @@ -3297,11 +3297,8 @@ } // Get folder rights (MYRIGHTS) - if ($acl && !$options['noselect']) { - // skip shared roots - if (!$options['is_root'] || $options['namespace'] == 'personal') { - $options['rights'] = (array)$this->my_rights($folder); - } + if ($acl && ($rights = $this->my_rights($folder))) { + $options['rights'] = $rights; } // Set 'norename' flag -- Gitblit v1.9.1