Code

Fixed problem with unknown function.
authorhickert <hickert@594d385d-05f5-0310-b6e9-bd551577e9d8>
Fri, 13 Jun 2008 09:17:47 +0000 (09:17 +0000)
committerhickert <hickert@594d385d-05f5-0310-b6e9-bd551577e9d8>
Fri, 13 Jun 2008 09:17:47 +0000 (09:17 +0000)
git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@11321 594d385d-05f5-0310-b6e9-bd551577e9d8

gosa-core/plugins/admin/departments/class_departmentManagement.inc

index c5e818ef0ab3543ca9787c8cb743de44302ac406..9700cef1097a8e536dc4c156be13ce710e565683 100644 (file)
@@ -324,7 +324,8 @@ class departmentManagement extends plugin
 
     /* This department must be tagged (Is called from iframe, generates output)*/
     if(isset($_GET['TagDepartment'])){
-      $this->deptabs->by_object['department']->tag_objects();
+      $base_name = $this->deptabs->base_name;
+      $this->deptabs->by_object[$base_name]->tag_objects();
       exit();  
     }