From f56857343d7e42678105038ad18c4c5964dd6e16 Mon Sep 17 00:00:00 2001 From: Ralf Becker Date: Fri, 21 Nov 2014 10:28:27 +0000 Subject: [PATCH] * EMailAdmin: used quota not shown in mail-account when called by an admin for an other user (only for managed mail-servers) --- emailadmin/inc/class.emailadmin_account.inc.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/emailadmin/inc/class.emailadmin_account.inc.php b/emailadmin/inc/class.emailadmin_account.inc.php index d1a596db96..20d1f35cd2 100644 --- a/emailadmin/inc/class.emailadmin_account.inc.php +++ b/emailadmin/inc/class.emailadmin_account.inc.php @@ -271,7 +271,7 @@ class emailadmin_account implements ArrayAccess if ($this->acc_imap_type != 'emailadmin_imap' && // do NOT query IMAP server, if we are in forward-only delivery-mode, imap will NOT answer, as switched off for that account! $this->params['deliveryMode'] != emailadmin_smtp::FORWARD_ONLY && - $this->imapServer() && is_a($this->imapServer, 'emailadmin_imap') && + $this->imapServer($this->user) && is_a($this->imapServer, 'emailadmin_imap') && ($data = $this->imapServer->getUserData($GLOBALS['egw']->accounts->id2name($this->user)))) { $this->params = array_merge($this->params, $data);