alecpl
2011-11-28 230ccbaef045d9a355e4f24921e622200dd64398
- Apply fix from trunk (r5500)


1 files modified
3 ■■■■ changed files
plugins/acl/acl.php 3 ●●●● patch | view | raw | blame | history
plugins/acl/acl.php
@@ -3,7 +3,7 @@
/**
 * Folders Access Control Lists Management (RFC4314, RFC2086)
 *
 * @version 0.6.3
 * @version @package_version@
 * @author Aleksander Machniak <alec@alec.pl>
 *
 *
@@ -627,7 +627,6 @@
            $acl = $this->rc->imap->get_acl('INBOX');
            if (is_array($acl)) {
                $regexp = '/^' . preg_quote($_SESSION['username'], '/') . '@(.*)$/';
                $regexp = '/^' . preg_quote('aleksander.machniak', '/') . '@(.*)$/';
                foreach (array_keys($acl) as $name) {
                    if (preg_match($regexp, $name, $matches)) {
                        $domain = $matches[1];