forked from extern/egroupware
fixed unknown attribute "acc_id" exception, if account is not yet stored
This commit is contained in:
parent
138af9f95b
commit
ea1c8800e7
@ -220,6 +220,7 @@ class emailadmin_imap extends Horde_Imap_Client_Socket implements defaultimap
|
|||||||
case 'acc_imap_administration':
|
case 'acc_imap_administration':
|
||||||
return !empty($this->params['acc_imap_admin_username']);
|
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':
|
case 'ImapServerId':
|
||||||
return $this->params['acc_id'];
|
return $this->params['acc_id'];
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user