From: hickert Date: Fri, 12 May 2006 05:54:33 +0000 (+0000) Subject: Fixed some probs X-Git-Url: https://git.tokkee.org/?a=commitdiff_plain;h=fd47ac1cae2bd5b39fc8c20ea66fb3b3c773c091;p=gosa.git Fixed some probs git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@3303 594d385d-05f5-0310-b6e9-bd551577e9d8 --- diff --git a/plugins/admin/departments/class_departmentManagement.inc b/plugins/admin/departments/class_departmentManagement.inc index 2fcbe8fde..476008cff 100644 --- a/plugins/admin/departments/class_departmentManagement.inc +++ b/plugins/admin/departments/class_departmentManagement.inc @@ -212,7 +212,7 @@ class departmentManagement extends plugin } } - if ((isset($_POST['edit_finish'])) && (isset($this->deptabs->config) ) ){ + if ((isset($_POST['edit_finish'])) && (isset($this->deptabs->config))){ /* Check tabs, will feed message array */ $message= $this->deptabs->check(); @@ -241,22 +241,23 @@ class departmentManagement extends plugin } /* This department must be tagged */ - if((isset($_GET['TagDepartment'])) && ($this->ObjectTaggingRequested)){ + if(isset($_GET['TagDepartment'])){ $this->deptabs->by_object['department']->tag_objects(); - $this->ObjectTaggingRequested = false; - exit(); + exit(); } + /* initiate recursive remove*/ - if((isset($_GET['PerformRecMove'])) &&($this->RecursiveRemoveRequested)){ + if(isset($_GET['PerformRecMove'])){ $this->deptabs->by_object['department']->recursive_move("","",true); - $this->RecursiveRemoveRequested = false; - exit(); - } + exit(); + } if($this->ObjectTaggingRequested){ + $this->ObjectTaggingRequested = false; return($this->deptabs->by_object['department']->ShowTagFrame()); } if($this->RecursiveRemoveRequested){ + $this->RecursiveRemoveRequested = false; return($this->deptabs->by_object['department']->ShowMoveFrame()); }