From: hickert Date: Thu, 17 Jul 2008 07:11:45 +0000 (+0000) Subject: Updated post_id check. X-Git-Url: https://git.tokkee.org/?a=commitdiff_plain;h=3bc0d4af2231d08b23b0b43dde7395c24e4c7dee;p=gosa.git Updated post_id check. git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@11691 594d385d-05f5-0310-b6e9-bd551577e9d8 --- diff --git a/gosa-core/include/class_MultiSelectWindow.inc b/gosa-core/include/class_MultiSelectWindow.inc index 123b88fe0..bc290cbe6 100644 --- a/gosa-core/include/class_MultiSelectWindow.inc +++ b/gosa-core/include/class_MultiSelectWindow.inc @@ -508,7 +508,7 @@ class MultiSelectWindow{ /* Ensure that we do not handle posts for other dialogs */ if((isset($_POST['POST_ID']) && $_POST['POST_ID'] != $this->post_id) || - (isset($_GET['POST_ID']) && $_GET['POST_ID'] != $this->post_id)){ + (isset($_GET['post_id']) && $_GET['post_id'] != $this->post_id)){ return; } @@ -546,6 +546,7 @@ class MultiSelectWindow{ if(isset($_GET['act'])&& ($_GET['act'] == "dep_open")){ $s_entry = $_GET['dep_id']; if (!isset($this->departments[$s_entry])){ + msg_dialog::display(_("LDAP error"), sprintf(_("Inconsistent DN encoding detected: '%s'"), LDAP::fix($s_entry)), ERROR_DIALOG); } else { $this->selectedBase = $this->departments[$s_entry]['dn'];