From ea1c8800e713400bc2fcb9ff1f0ba5b77ac366b4 Mon Sep 17 00:00:00 2001 From: Ralf Becker Date: Thu, 24 Jul 2014 11:46:01 +0000 Subject: [PATCH] fixed unknown attribute "acc_id" exception, if account is not yet stored --- emailadmin/inc/class.emailadmin_imap.inc.php | 1 + 1 file changed, 1 insertion(+) diff --git a/emailadmin/inc/class.emailadmin_imap.inc.php b/emailadmin/inc/class.emailadmin_imap.inc.php index d2262f3f2e..c1b813c312 100644 --- a/emailadmin/inc/class.emailadmin_imap.inc.php +++ b/emailadmin/inc/class.emailadmin_imap.inc.php @@ -220,6 +220,7 @@ class emailadmin_imap extends Horde_Imap_Client_Socket implements defaultimap case 'acc_imap_administration': return !empty($this->params['acc_imap_admin_username']); + case 'acc_id': // to not get an exception, if account is not yet stored, just return null case 'ImapServerId': return $this->params['acc_id'];