forked from extern/egroupware
* EMailAdmin: folders to notify about were always stored as default for all users, if editied by an admin
This commit is contained in:
parent
8399373f35
commit
4ced9e1e22
@ -1054,7 +1054,9 @@ class emailadmin_account implements ArrayAccess
|
||||
}
|
||||
|
||||
// store notification folders
|
||||
emailadmin_notifications::write($data['acc_id'], (int)$data['notify_account_id'], (array)$data['notify_folders']);
|
||||
emailadmin_notifications::write($data['acc_id'], $data['notify_save_default'] ? 0 :
|
||||
($data['called_for'] ? $data['called_for'] : $GLOBALS['egw_info']['user']['account_id']),
|
||||
(array)$data['notify_folders']);
|
||||
|
||||
// store account-information of managed mail server
|
||||
if ($user > 0 && $data['acc_smtp_type'] && $data['acc_smtp_type'] != 'emailadmin_smtp')
|
||||
|
Loading…
Reference in New Issue
Block a user