diff --git a/trunk/gosa-plugins/systems/admin/systems/class_divListSystem.inc b/trunk/gosa-plugins/systems/admin/systems/class_divListSystem.inc
index e2178ec8c35420471e55b21e2ac0ece615118650..a48afab157d12de76ef2ebb859d9faf1dadf67ed 100644 (file)
$cnts[$type] ++;
/* Create each field */
- $filtered_dn = str_replace('\\,', '\\2C', LDAP::fix($val['dn']));
+ if ($this->config->comma_escape_style == "comma" ||
+ $this->config->comma_escape_style == "unknown") {
+ $filtered_dn = LDAP::fix($val['dn']);
+ } else {
+ $filtered_dn = str_replace('\\,', '\\2C', LDAP::fix($val['dn']));
+ }
$field0 = array("string" => "<input type='checkbox' id='item_selected_".$key."' name='item_selected_".$key."'>" ,
"attach" => "style='width:20px;'");
$field1 = array("string" => sprintf($img['img'],$val['dn']),