Code

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

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

include/sieve/class_My_Tree.inc

index 3aeda28ae5c08402e405da4b794b4b058c3ffdd5..d7686d3a29e3f8a44fe38d350c4549a4147597fe 100644 (file)
@@ -730,7 +730,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);