From 7dbba4dec03616efa79349477a32db88f15a7d62 Mon Sep 17 00:00:00 2001 From: Ralf Becker Date: Mon, 11 Aug 2014 15:10:41 +0000 Subject: [PATCH] * EMailAdmin/Mail: fix to work with Horde_Imap_Client 2.24.1+ (Tried to access unknown attribute "capability"!) --- emailadmin/inc/class.emailadmin_imap.inc.php | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/emailadmin/inc/class.emailadmin_imap.inc.php b/emailadmin/inc/class.emailadmin_imap.inc.php index 9db68d5db2..de6bf66def 100644 --- a/emailadmin/inc/class.emailadmin_imap.inc.php +++ b/emailadmin/inc/class.emailadmin_imap.inc.php @@ -241,7 +241,8 @@ class emailadmin_imap extends Horde_Imap_Client_Socket implements defaultimap { return $this->getParam($name); } - throw new egw_exception_wrong_parameter("Tried to access unknown attribute '$name'!"); + // calling Horde_Imap_Client's __get() method available since 2.24.1 + return parent::__get($name); } }