Code

Fixed department creation
authorhickert <hickert@594d385d-05f5-0310-b6e9-bd551577e9d8>
Thu, 13 Mar 2008 08:55:09 +0000 (08:55 +0000)
committerhickert <hickert@594d385d-05f5-0310-b6e9-bd551577e9d8>
Thu, 13 Mar 2008 08:55:09 +0000 (08:55 +0000)
git-svn-id: https://oss.gonicus.de/repositories/gosa/branches/2.5@9725 594d385d-05f5-0310-b6e9-bd551577e9d8

plugins/admin/departments/class_departmentGeneric.inc

index 0dc9495faec5c5be27cdf62351038a2ec8d65bbb..2a24e069ad89f3c2d94bcc83b7aadbc629bce991 100644 (file)
@@ -296,7 +296,7 @@ class department extends plugin
     plugin::save();
 
                /* Remove tag information if needed */
-               if (!$this->is_administrational_unit){
+               if (!$this->is_administrational_unit && $this->initially_was_tagged){
                        $tmp= array();
 
                        /* Remove gosaAdministrativeUnit from this plugin */