diff --git a/include/sieve/class_sieveElement_Vacation.inc b/include/sieve/class_sieveElement_Vacation.inc
index edb0efd763cc700a53855dbb5e28413bee85ffd6..9bb4a41b4ef1c8a8fad1ccb26fcfecb6a1bf64b9 100644 (file)
var $from = "";
var $mime = "";
var $handle = "";
- var $reason = "";
+ var $reason = "\"I am not available, currently.\"";
var $addresses= array();
var $object_id= -1;
var $Expert = FALSE;
$object_container = $smarty->fetch(get_template_path("templates/object_container.tpl",TRUE,dirname(__FILE__)));
$object= $smarty->fetch(get_template_path("templates/element_vacation.tpl",TRUE,dirname(__FILE__)));
- $str = preg_replace("/%%OBJECT_CONTENT%%/",$object,$object_container);
+ $str = preg_replace("/%%OBJECT_CONTENT%%/",addcslashes($object,"\\"),$object_container);
return($str);
}
}