Commit 11c8f36a authored by tbrehm's avatar tbrehm
Browse files

Fixed: FS#758 - disabling mail filter rules doesn't work

parent 1cbeab33
......@@ -114,6 +114,8 @@ class page_action extends tform_actions {
$content = '';
$content .= '### BEGIN FILTER_ID:'.$this->id."\n";
if($this->dataRecord["active"] == 'y') {
if($this->dataRecord["action"] == 'move') {
$content .= "
......@@ -153,6 +155,8 @@ if ( ".'$RETURNCODE'." != 0 )
$content .= "}\n";
$content .= "}\n";
}
$content .= '### END FILTER_ID:'.$this->id."\n";
return $content;
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment