mirror of
https://github.com/EGroupware/egroupware.git
synced 2024-11-28 02:43:22 +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
dbe30682d0
commit
fd15d4e750
@ -612,7 +612,7 @@ class Script
|
|||||||
$closeRequired = false;
|
$closeRequired = false;
|
||||||
if ($this->vacation)
|
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['variables']) $newscripthead .= ',"variables"';
|
||||||
if ($this->extensions['regex'] && $regexused) $newscripthead .= ",\"regex\"";
|
if ($this->extensions['regex'] && $regexused) $newscripthead .= ",\"regex\"";
|
||||||
if ($this->extensions['date']) $newscripthead .= ",\"date\"";
|
if ($this->extensions['date']) $newscripthead .= ",\"date\"";
|
||||||
|
Loading…
Reference in New Issue
Block a user