Code

Updated post_id check.
authorhickert <hickert@594d385d-05f5-0310-b6e9-bd551577e9d8>
Thu, 17 Jul 2008 07:11:45 +0000 (07:11 +0000)
committerhickert <hickert@594d385d-05f5-0310-b6e9-bd551577e9d8>
Thu, 17 Jul 2008 07:11:45 +0000 (07:11 +0000)
git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@11691 594d385d-05f5-0310-b6e9-bd551577e9d8

gosa-core/include/class_MultiSelectWindow.inc

index 123b88fe002a685979a556978f38ca4f604ad3b6..bc290cbe60c9f053a2892da37ccc7cc0984d3d14 100644 (file)
@@ -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'];