forked from extern/egroupware
* Mail: Fix error saving mail account while Notify mail folders is empty and Use Default option is not set.
This commit is contained in:
parent
b5bbf3721b
commit
e2d8c9f952
@ -1069,7 +1069,7 @@ class admin_mail
|
|||||||
// load default ones
|
// load default ones
|
||||||
$content = array_merge($content, Mail\Notifications::read($content['acc_id'], 0));
|
$content = array_merge($content, Mail\Notifications::read($content['acc_id'], 0));
|
||||||
}
|
}
|
||||||
if (!$content['notify_use_default'])
|
if (!$content['notify_use_default'] && is_array($content['notify_folders']))
|
||||||
{
|
{
|
||||||
$content['notify_account_id'] = $content['called_for'] ?
|
$content['notify_account_id'] = $content['called_for'] ?
|
||||||
$content['called_for'] : $GLOBALS['egw_info']['user']['account_id'];
|
$content['called_for'] : $GLOBALS['egw_info']['user']['account_id'];
|
||||||
|
Loading…
Reference in New Issue
Block a user