Code

Fixed tagging of printer objects
authorcajus <cajus@594d385d-05f5-0310-b6e9-bd551577e9d8>
Mon, 31 Jul 2006 05:33:22 +0000 (05:33 +0000)
committercajus <cajus@594d385d-05f5-0310-b6e9-bd551577e9d8>
Mon, 31 Jul 2006 05:33:22 +0000 (05:33 +0000)
git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@4343 594d385d-05f5-0310-b6e9-bd551577e9d8

plugins/admin/systems/tabs_workstation.inc

index 63c82bda9d00d9fd1854a2964d75e491868568ab..b50e2fc766767ca2a6a995be3cc0ad7efc1b4b9d 100644 (file)
@@ -49,9 +49,13 @@ class worktabs extends tabs
     }
 
     tabs::save(TRUE);
+
     if(($this->by_object['printgeneric']->is_account==false)&&($this->by_object['printgeneric']->initially_was_account==true)){
       $this->by_object['printgeneric']->remove_from_parent();
     }
+    if($this->by_object['printgeneric']->is_account){
+      $this->by_object['printgeneric']->handle_object_tagging();
+    }
 
     /* Fix tagging if needed */
     $baseobject->handle_object_tagging();