fix could not set forwarding address for vacation notice

This commit is contained in:
ralf 2024-01-15 14:16:51 +02:00
parent bc9ba50763
commit ae47069478

View File

@ -581,7 +581,7 @@ class mail_sieve
} }
else else
{ {
$content['forwards'] = ''; $content['forwards'] = [];
} }
if (strlen(trim($vacation['text']))==0 && $this->mailConfig['default_vacation_text']) $content['text'] = $this->mailConfig['default_vacation_text']; if (strlen(trim($vacation['text']))==0 && $this->mailConfig['default_vacation_text']) $content['text'] = $this->mailConfig['default_vacation_text'];
if (strlen(trim($content['text']))==0) if (strlen(trim($content['text']))==0)