From 2b8f388465e9b63167c9d5ce4310c6905ccb3a48 Mon Sep 17 00:00:00 2001 From: hickert Date: Thu, 29 Mar 2007 08:26:08 +0000 Subject: [PATCH] Updated vacation expert mode. git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@5921 594d385d-05f5-0310-b6e9-bd551577e9d8 --- include/sieve/class_sieveElement_Vacation.inc | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/include/sieve/class_sieveElement_Vacation.inc b/include/sieve/class_sieveElement_Vacation.inc index 477a7fe0c..3cb1b3929 100644 --- a/include/sieve/class_sieveElement_Vacation.inc +++ b/include/sieve/class_sieveElement_Vacation.inc @@ -105,7 +105,7 @@ class sieve_vacation { /* Get release date */ if(isset($_POST['vacation_release_'.$this->object_id])){ - $this->days = $_POST['vacation_release_'.$this->object_id]; + $this->days = stripslashes($_POST['vacation_release_'.$this->object_id]); } /* Check if we want to toggle the expert mode */ @@ -119,7 +119,7 @@ class sieve_vacation $tmp = array(); $tmp2 = split(",",$vr); foreach($tmp2 as $val){ - $ad = trim(preg_replace("/\"/","",$val)); + $ad = trim($val); if(!empty($ad)){ $tmp[] = $ad; } -- 2.30.2