From c2b23dc43ce53e8662ff9bf2db29f9cb400acd58 Mon Sep 17 00:00:00 2001 From: hickert Date: Thu, 20 Apr 2006 11:28:46 +0000 Subject: [PATCH] Added CurrentMainBase 'undefined index' fix git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@3070 594d385d-05f5-0310-b6e9-bd551577e9d8 --- plugins/admin/departments/class_departmentManagement.inc | 3 +++ 1 file changed, 3 insertions(+) diff --git a/plugins/admin/departments/class_departmentManagement.inc b/plugins/admin/departments/class_departmentManagement.inc index b3eb93bc3..0969bbf50 100644 --- a/plugins/admin/departments/class_departmentManagement.inc +++ b/plugins/admin/departments/class_departmentManagement.inc @@ -51,6 +51,9 @@ class departmentManagement extends plugin register_global("depfilter", $depfilter); } $base= get_base_from_people($ui->dn); + if(!isset($_SESSION['CurrentMainBase'])){ + $_SESSION['CurrentMainBase'] = $this->config->current['BASE']; + } $_SESSION['CurrentMainBase'] = $_SESSION['CurrentMainBase']; } -- 2.30.2