mirror of
https://github.com/EGroupware/egroupware.git
synced 2024-11-26 09:53:20 +01:00
fixed deletion of sieve vacation message when editing sieve rules
This commit is contained in:
parent
eec7a40444
commit
b09e764ad0
@ -107,13 +107,5 @@
|
||||
|
||||
return false;
|
||||
}
|
||||
|
||||
function updateScript($_scriptName, $_rules) {
|
||||
$script =& CreateObject('felamimail.Script',$_scriptName);
|
||||
$script->rules = $_rules;
|
||||
$result = $script->updateScript($this);
|
||||
|
||||
return $result;
|
||||
}
|
||||
}
|
||||
?>
|
||||
|
@ -909,7 +909,7 @@
|
||||
|
||||
function updateScript()
|
||||
{
|
||||
if (!$this->bosieve->updateScript($this->scriptToEdit, $this->rules)) {
|
||||
if (!$this->bosieve->setRules($this->scriptToEdit, $this->rules)) {
|
||||
print "update failed<br>";exit;
|
||||
#LK print $script->errstr."<br>";
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user