Code

Updated class listing
authorhickert <hickert@594d385d-05f5-0310-b6e9-bd551577e9d8>
Tue, 5 Jan 2010 08:38:09 +0000 (08:38 +0000)
committerhickert <hickert@594d385d-05f5-0310-b6e9-bd551577e9d8>
Tue, 5 Jan 2010 08:38:09 +0000 (08:38 +0000)
-If the base was selected through the selectBox of the new lists,
 then session::get('CurrentMainBase') returned the correct base,
 but if we've selected the base via the list entries,
 CurrentMainBase was not set correctly.

git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@15034 594d385d-05f5-0310-b6e9-bd551577e9d8

gosa-core/include/class_listing.inc

index 42c92716bcdca21f3320e5b16a991d24ba585d81..5ebabd659b667fd808c30c698a44ea494d577dd1 100644 (file)
@@ -463,6 +463,7 @@ class listing {
       if (preg_match('/^department_([0-9]+)$/', validate($_GET['act']), $match)){
         if (isset($this->departments[$match[1]])){
           $this->base= $this->departments[$match[1]]['dn'];
+          session::global_set("CurrentMainBase", $this->base);
         }
       }
     }