Code

Fixed printer object tagging
authorcajus <cajus@594d385d-05f5-0310-b6e9-bd551577e9d8>
Mon, 31 Jul 2006 05:34:14 +0000 (05:34 +0000)
committercajus <cajus@594d385d-05f5-0310-b6e9-bd551577e9d8>
Mon, 31 Jul 2006 05:34:14 +0000 (05:34 +0000)
git-svn-id: https://oss.gonicus.de/repositories/gosa/branches/2.5@4344 594d385d-05f5-0310-b6e9-bd551577e9d8

plugins/admin/systems/tabs_workstation.inc

index 96a1ce69da01461287ff3954bf7999afe7c47339..83e37f2e28e70c4df3e1c39d15e6c4e5620f1f6c 100644 (file)
@@ -46,9 +46,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();