mirror of
https://github.com/EGroupware/egroupware.git
synced 2024-12-21 22:22:15 +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
|
||||
$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['called_for'] : $GLOBALS['egw_info']['user']['account_id'];
|
||||
|
Loading…
Reference in New Issue
Block a user