From f434fc1ba947a6e14daae5c60b9ef8dd470a980c Mon Sep 17 00:00:00 2001 From: hickert Date: Wed, 21 Mar 2007 09:08:36 +0000 Subject: [PATCH] Fixed script output git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@5847 594d385d-05f5-0310-b6e9-bd551577e9d8 --- include/sieve/class_My_Tree.inc | 14 ++++---------- 1 file changed, 4 insertions(+), 10 deletions(-) diff --git a/include/sieve/class_My_Tree.inc b/include/sieve/class_My_Tree.inc index 412bccb87..7691ed361 100644 --- a/include/sieve/class_My_Tree.inc +++ b/include/sieve/class_My_Tree.inc @@ -562,16 +562,10 @@ class My_Tree extends Tree } $tmp2 = $part->get_sieve_script_part(); - if(get_class($part) == "sieve_reject"){ - $tmp.=$tmp2; - }else{ - - $tmp3 = split("\n",$tmp2); - foreach($tmp3 as $str){ - $str2 = trim($str); - #if(empty($str2)) continue; - $tmp.= $buffer.$str."\n"; - } + $tmp3 = split("\n",$tmp2); + foreach($tmp3 as $str){ + $str2 = trim($str); + $tmp.= $buffer.$str."\n"; } if(get_class($part) == "sieve_block_start"){ $buffer .= SIEVE_INDENT_TAB; -- 2.30.2