mirror of
https://github.com/EGroupware/egroupware.git
synced 2024-11-25 09:23:28 +01:00
fix error setting vacation notice (without rules):
updateScript: putscript failed: mail: line 3: error: unexpected ',' found at (the presumed) end of file. mail: error: parse failed.
This commit is contained in:
parent
d0cb94b6c7
commit
b8b5089b77
@ -612,7 +612,7 @@ class Script
|
||||
$closeRequired = false;
|
||||
if ($this->vacation)
|
||||
{
|
||||
$newscripthead .= (string)$this->vacation['days'] === '0' ? ',"vacation-seconds"' : ',"vacation"';
|
||||
$newscripthead .= 'require['.((string)$this->vacation['days'] === '0' ? '"vacation-seconds"' : '"vacation"');
|
||||
if ($this->extensions['variables']) $newscripthead .= ',"variables"';
|
||||
if ($this->extensions['regex'] && $regexused) $newscripthead .= ",\"regex\"";
|
||||
if ($this->extensions['date']) $newscripthead .= ",\"date\"";
|
||||
|
Loading…
Reference in New Issue
Block a user