diff --git a/gosa-core/include/class_MultiSelectWindow.inc b/gosa-core/include/class_MultiSelectWindow.inc
index e21e91ccc87c71f7cc38c261b7ef2cf211c52ae6..529196e43288dbac7fb185e72787644f3e5b26d9 100644 (file)
if(isset($_GET['act'])&& ($_GET['act'] == "dep_open")){
$s_entry = base64_decode($_GET['dep_id']);
if (!isset($this->config->departments[$s_entry])){
- print_red(_("Error: The requested subtree has an inconsistent DN encoding, check your LDAP!"));
+ msg_dialog::display(_("LDAP error"), sprintf(_("Inconsistent DN encoding detected: '%s'"), LDAP::fix($s_entry)), ERROR_DIALOG);
} else {
$this->selectedBase = $this->config->departments[$s_entry];
}