fixed deletion of sieve vacation message when editing sieve rules

This commit is contained in:
Christian Binder 2007-10-09 15:03:52 +00:00
parent eec7a40444
commit b09e764ad0
2 changed files with 1 additions and 9 deletions

View File

@ -107,13 +107,5 @@
return false;
}
function updateScript($_scriptName, $_rules) {
$script =& CreateObject('felamimail.Script',$_scriptName);
$script->rules = $_rules;
$result = $script->updateScript($this);
return $result;
}
}
?>

View File

@ -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>";
}