From e94800e97ee70c1d9d97a70133afe54e977d08d9 Mon Sep 17 00:00:00 2001 From: hickert Date: Thu, 14 Sep 2006 05:04:30 +0000 Subject: [PATCH] Printer extension mustn't be activated ... git-svn-id: https://oss.gonicus.de/repositories/gosa/branches/2.5@4647 594d385d-05f5-0310-b6e9-bd551577e9d8 --- plugins/admin/systems/tabs_terminal.inc | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/plugins/admin/systems/tabs_terminal.inc b/plugins/admin/systems/tabs_terminal.inc index 2bc8db0bf..92a3f801b 100644 --- a/plugins/admin/systems/tabs_terminal.inc +++ b/plugins/admin/systems/tabs_terminal.inc @@ -50,8 +50,10 @@ class termtabs 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(isset($this->by_object['printgeneric'])){ + if(($this->by_object['printgeneric']->is_account==false)&&($this->by_object['printgeneric']->initially_was_account==true)){ + $this->by_object['printgeneric']->remove_from_parent(); + } } /* Fix tagging if needed */ -- 2.30.2