Code

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

plugins/admin/systems/class_printGeneric.inc
plugins/admin/systems/tabs_workstation.inc

index 30a164126d3c8700cabe1f55045e19e86b55ac4d..592a1a1b585242c5aa4a34e32f727bc13c60b415 100644 (file)
@@ -758,6 +758,9 @@ class printgeneric extends plugin
 
     /* Optionally execute a command after we're done */
     $this->postcreate();
+
+    /* This is a multi object. Handle tagging here... */
+    $this->handle_object_tagging();
   }
 
   function generateList(){
index b50e2fc766767ca2a6a995be3cc0ad7efc1b4b9d..b9045c1645f3933c94567a0ac49e66eb085298f8 100644 (file)
@@ -53,9 +53,6 @@ class worktabs extends tabs
     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();