From 96a448d1b1443a68b63279aa7fe4b0c23a3bf400 Mon Sep 17 00:00:00 2001 From: hickert Date: Tue, 5 Jan 2010 08:38:09 +0000 Subject: [PATCH] Updated class listing -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 | 1 + 1 file changed, 1 insertion(+) diff --git a/gosa-core/include/class_listing.inc b/gosa-core/include/class_listing.inc index 42c92716b..5ebabd659 100644 --- a/gosa-core/include/class_listing.inc +++ b/gosa-core/include/class_listing.inc @@ -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); } } } -- 2.30.2