Skip to content

Commit

Permalink
Check if ACLs are supported at all too.
Browse files Browse the repository at this point in the history
  • Loading branch information
yunosh committed Jun 10, 2015
1 parent 77eb0bd commit bdf96ad
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion imp/lib/Dynamic/Mailbox.php
Original file line number Diff line number Diff line change
Expand Up @@ -412,7 +412,8 @@ protected function _addMailboxVars()
$context['ctx_mbox']['search']
);
}
if ($prefs->isLocked('acl')) {
if (!$imp_imap->access(IMP_Imap::ACCESS_FLAGS) ||
$prefs->isLocked('acl')) {
unset(
$context['ctx_mbox']['_sub2']
);
Expand Down

0 comments on commit bdf96ad

Please sign in to comment.