summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: 39700a8)
raw | patch | inline | side by side (parent: 39700a8)
author | hickert <hickert@594d385d-05f5-0310-b6e9-bd551577e9d8> | |
Thu, 29 Mar 2007 08:26:08 +0000 (08:26 +0000) | ||
committer | hickert <hickert@594d385d-05f5-0310-b6e9-bd551577e9d8> | |
Thu, 29 Mar 2007 08:26:08 +0000 (08:26 +0000) |
git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@5921 594d385d-05f5-0310-b6e9-bd551577e9d8
include/sieve/class_sieveElement_Vacation.inc | patch | blob | history |
diff --git a/include/sieve/class_sieveElement_Vacation.inc b/include/sieve/class_sieveElement_Vacation.inc
index 477a7fe0ce2520c89d323f33c13e99101e80abae..3cb1b3929cb3da3d4182b3b2580f533d139428ac 100644 (file)
{
/* 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 */
$tmp = array();
$tmp2 = split(",",$vr);
foreach($tmp2 as $val){
- $ad = trim(preg_replace("/\"/","",$val));
+ $ad = trim($val);
if(!empty($ad)){
$tmp[] = $ad;
}