mirror of
https://github.com/EGroupware/egroupware.git
synced 2025-01-24 23:09:13 +01:00
Set vacation addresses with all aliases if there's nothing set for the first time
This commit is contained in:
parent
ec5e5080c6
commit
36d971867f
@ -534,9 +534,9 @@ class mail_sieve
|
|||||||
{
|
{
|
||||||
$content = $vacation = $vacRules['vacation'];
|
$content = $vacation = $vacRules['vacation'];
|
||||||
if (!empty($profileID)) $content['acc_id'] = $profileID;
|
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']))
|
if (!empty($vacation['forwards']))
|
||||||
{
|
{
|
||||||
|
Loading…
Reference in New Issue
Block a user