From 230ccbaef045d9a355e4f24921e622200dd64398 Mon Sep 17 00:00:00 2001 From: alecpl Date: Mon, 28 Nov 2011 10:03:57 +0000 Subject: - Apply fix from trunk (r5500) --- plugins/acl/acl.php | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/plugins/acl/acl.php b/plugins/acl/acl.php index 1448fb088..3a5fd1ac1 100644 --- a/plugins/acl/acl.php +++ b/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 * * @@ -627,7 +627,6 @@ class acl extends rcube_plugin $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]; -- cgit v1.2.3