diff --git a/gosa-plugins/groupware/personal/groupware/class_FilterEditor.inc b/gosa-plugins/groupware/personal/groupware/class_FilterEditor.inc
index 9f39d6effe741127261915be8bc3f7bb98efd796..eaa46c401889580343d7b85c87fd6d50a5196a07 100644 (file)
$str.= "\n<option {$checked} value=\"".set_post($comparator)."\">".set_post($desc)."</option>";
}
$str .= "\n</select> ";
- if(!in_array($cond['COMPARATOR'], array('is in addressbook','is not in addressbook','is empty','is not empty'))){
+ if(!in_array_strict($cond['COMPARATOR'], array('is in addressbook','is not in addressbook','is empty','is not empty'))){
$str .= "<input style='width:400px;' type='text' name='cMatch_{$id}' value=\"".set_post($cond['MATCH'])."\">";
}
if(count($filter['CONDITIONS']) >= 2){
$str.= "\n<option {$checked} value=\"".set_post($act)."\">".set_post($desc)."</option>";
}
$str .= "</select> ";
- if(!in_array($action['ACTION'], array('DROP'))){
+ if(!in_array_strict($action['ACTION'], array('DROP'))){
$str .= "<input style='width:500px;' type='text' name='cValue_{$id}' value=\"".set_post($action['VALUE'])."\">";
}