forked from extern/egroupware
Set vacation addresses with all aliases if there's nothing set for the first time
This commit is contained in:
parent
0f32084f8d
commit
66bbe734d8
@ -534,9 +534,9 @@ class mail_sieve
|
||||
{
|
||||
$content = $vacation = $vacRules['vacation'];
|
||||
if (!empty($profileID)) $content['acc_id'] = $profileID;
|
||||
if (empty($vacation['addresses']))
|
||||
if (empty($vacation['addresses']) || implode('',$vacation['addresses']) == '')
|
||||
{
|
||||
$content['addresses'] = '';
|
||||
$content['addresses'] = $vacRules['aliases'];
|
||||
}
|
||||
if (!empty($vacation['forwards']))
|
||||
{
|
||||
|
Loading…
Reference in New Issue
Block a user