From: hickert Date: Wed, 21 Mar 2007 09:08:36 +0000 (+0000) Subject: Fixed script output X-Git-Url: https://git.tokkee.org/?a=commitdiff_plain;h=f434fc1ba947a6e14daae5c60b9ef8dd470a980c;p=gosa.git Fixed script output git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@5847 594d385d-05f5-0310-b6e9-bd551577e9d8 --- 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;