Code

Udpated tree class
[gosa.git] / include / sieve / class_sieveElement_Comment.inc
index 51c1d8f37b5f8f01db3b202f20b9adc2796f733e..c235616cad4e9987bc5ce7714dcb22737844bb04 100644 (file)
@@ -9,7 +9,7 @@ class sieve_comment
 
   function get_sieve_script_part()
   {
-    $str = "/*".$this->data."*/\n";
+    $str = "\n/*".$this->data."*/";
     return($str);
   } 
     
@@ -39,6 +39,7 @@ class sieve_comment
 
       $this->data .= $text."\n";
     }
+    $this->data = rtrim($this->data)."\n";
   }
 
   function check()