diff --git a/gosa-plugins/mail/personal/mail/sieve/class_sieveElement_Vacation.inc b/gosa-plugins/mail/personal/mail/sieve/class_sieveElement_Vacation.inc
index a8ba251c6946cae21d13cca0b88db3f48c1b7b16..efb51934dfcb6e7634b9ad31661f72e31be43d8a 100644 (file)
$node = $data['ELEMENTS'][$i];
/* Check if tag is in the specified list of attributes */
- if($node['class'] == "tag" && in_array($node['text'],$known_attrs)){
+ if($node['class'] == "tag" && in_array_strict($node['text'],$known_attrs)){
$var = preg_replace("/\:/","",$node['text']);
$this->$var = $data['ELEMENTS'][$i+1]['text'];
}
/* Add the vacation message */
- if(in_array($node['class'],array("quoted-string","multi-line"))){
+ if(in_array_strict($node['class'],array("quoted-string","multi-line"))){
$tmp = sieve_get_strings($data['ELEMENTS'],$i);
$strs= $tmp['STRINGS'];