Code

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

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

index 301a9d21bdb0e24560d7a66b3e3355064583ffa5..03083da98dbe8b05358f155df8c89d7c74d66fa4 100644 (file)
@@ -755,6 +755,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 83e37f2e28e70c4df3e1c39d15e6c4e5620f1f6c..34298b095e7818f9a10ce20f89bfecb98ee40e95 100644 (file)
@@ -50,9 +50,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();