mirror of
https://github.com/EGroupware/egroupware.git
synced 2025-01-03 04:29:28 +01:00
* Mail: Make sure there's folder to notify before attempting to write the notifications
This commit is contained in:
parent
a4d9115d64
commit
009682b949
@ -1098,7 +1098,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