From: hickert Date: Fri, 2 Feb 2007 10:29:40 +0000 (+0000) Subject: Fixed undefined index after moving department X-Git-Url: https://git.tokkee.org/?a=commitdiff_plain;h=2745d40d119660ac8110849a39cbbdd6835924e6;p=gosa.git Fixed undefined index after moving department git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@5681 594d385d-05f5-0310-b6e9-bd551577e9d8 --- diff --git a/plugins/admin/departments/class_departmentGeneric.inc b/plugins/admin/departments/class_departmentGeneric.inc index 31713217b..da4c101b7 100644 --- a/plugins/admin/departments/class_departmentGeneric.inc +++ b/plugins/admin/departments/class_departmentGeneric.inc @@ -554,6 +554,7 @@ class department extends plugin /* Remove src_dn */ $ldap->cd($src_dn); $ldap->recursive_remove(); + $this->dn = $this->rec_dst; $this->rec_src = $this->rec_dst = ""; $this->rec_cpy =false; diff --git a/plugins/admin/departments/class_departmentManagement.inc b/plugins/admin/departments/class_departmentManagement.inc index 61b18f59f..2bdcf1b87 100644 --- a/plugins/admin/departments/class_departmentManagement.inc +++ b/plugins/admin/departments/class_departmentManagement.inc @@ -252,6 +252,7 @@ class departmentManagement extends plugin /* initiate recursive remove (Is called from iframe, generates output)*/ if(isset($_GET['PerformRecMove'])){ $this->deptabs->by_object['department']->recursive_move("","",true); + $this->DivListDepartment->selectedBase = $this->deptabs->by_object['department']->dn; exit(); }