From: hickert Date: Thu, 20 Apr 2006 11:28:46 +0000 (+0000) Subject: Added CurrentMainBase 'undefined index' fix X-Git-Url: https://git.tokkee.org/?a=commitdiff_plain;h=c2b23dc43ce53e8662ff9bf2db29f9cb400acd58;p=gosa.git Added CurrentMainBase 'undefined index' fix git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@3070 594d385d-05f5-0310-b6e9-bd551577e9d8 --- 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']; }