summaryrefslogtreecommitdiff
path: root/plugins/acl/acl.php
diff options
context:
space:
mode:
Diffstat (limited to 'plugins/acl/acl.php')
-rw-r--r--plugins/acl/acl.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/plugins/acl/acl.php b/plugins/acl/acl.php
index 5ae9e4e0a..eb8433a27 100644
--- a/plugins/acl/acl.php
+++ b/plugins/acl/acl.php
@@ -441,7 +441,7 @@ class acl extends rcube_plugin
if (!empty($this->specials) && in_array($user, $this->specials)) {
$username = $this->gettext($user);
}
- else {
+ else if (!empty($user)) {
if (!strpos($user, '@') && ($realm = $this->get_realm())) {
$user .= '@' . rcube_utils::idn_to_ascii(preg_replace('/^@/', '', $realm));
}