From c4111ae196b29190d9adf72c1c077c9b65466ba4 Mon Sep 17 00:00:00 2001 From: cajus Date: Mon, 31 Jul 2006 05:34:14 +0000 Subject: [PATCH] Fixed printer object tagging git-svn-id: https://oss.gonicus.de/repositories/gosa/branches/2.5@4344 594d385d-05f5-0310-b6e9-bd551577e9d8 --- plugins/admin/systems/tabs_workstation.inc | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/plugins/admin/systems/tabs_workstation.inc b/plugins/admin/systems/tabs_workstation.inc index 96a1ce69d..83e37f2e2 100644 --- a/plugins/admin/systems/tabs_workstation.inc +++ b/plugins/admin/systems/tabs_workstation.inc @@ -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(); -- 2.30.2