From: hickert Date: Thu, 29 Mar 2007 09:09:23 +0000 (+0000) Subject: Don't automatically add quotes to match values. X-Git-Url: https://git.tokkee.org/?a=commitdiff_plain;h=77a962af472ccef61f6fa3d926ad65373e496f01;p=gosa.git Don't automatically add quotes to match values. git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@5923 594d385d-05f5-0310-b6e9-bd551577e9d8 --- diff --git a/include/sieve/class_sieveElement_If.inc b/include/sieve/class_sieveElement_If.inc index c4808ce52..fdda545c7 100644 --- a/include/sieve/class_sieveElement_If.inc +++ b/include/sieve/class_sieveElement_If.inc @@ -642,7 +642,7 @@ class sieve_if $tmp2 = split(",",$vls); foreach($tmp2 as $val){ - $tmp[] = "\"".trim(preg_replace("/\"/","",$val))."\""; + $tmp[] = trim($val); } $parsed[$key]['Key_List'] = $tmp; } @@ -654,7 +654,7 @@ class sieve_if $tmp2 = split(",",$vls); foreach($tmp2 as $val){ - $tmp[] = "\"".trim(preg_replace("/\"/","",$val))."\""; + $tmp[] = trim($val); } $parsed[$key]['Value_List'] = $tmp; }