From 3bc0d4af2231d08b23b0b43dde7395c24e4c7dee Mon Sep 17 00:00:00 2001 From: hickert Date: Thu, 17 Jul 2008 07:11:45 +0000 Subject: [PATCH] Updated post_id check. git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@11691 594d385d-05f5-0310-b6e9-bd551577e9d8 --- gosa-core/include/class_MultiSelectWindow.inc | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) 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']; -- 2.30.2