Code

Fixed sieve script creation
authorhickert <hickert@594d385d-05f5-0310-b6e9-bd551577e9d8>
Tue, 8 Jan 2008 09:43:08 +0000 (09:43 +0000)
committerhickert <hickert@594d385d-05f5-0310-b6e9-bd551577e9d8>
Tue, 8 Jan 2008 09:43:08 +0000 (09:43 +0000)
-Empty values were not written correctly

git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@8245 594d385d-05f5-0310-b6e9-bd551577e9d8

gosa-core/include/sieve/class_My_Tree.inc

index 8ddafe2d46befaee65d94d2cb6be83d41b11dcf8..0011d581fce4f33b659f84f3d992441b1f010849 100644 (file)
@@ -722,7 +722,7 @@ function sieve_create_strings($data,$force_string = FALSE)
       $ret = preg_replace("/,$/","",trim($ret));
       $ret = "[".$ret."]";
     }
-      $ret = preg_replace("/\"\"/","\"",$ret);
+#      $ret = preg_replace("/\"\"/","\"",$ret);
   }else{
 
     $Multiline = preg_match("/\n/",$data);