From: hickert Date: Thu, 14 Sep 2006 05:04:30 +0000 (+0000) Subject: Printer extension mustn't be activated ... X-Git-Url: https://git.tokkee.org/?a=commitdiff_plain;h=e94800e97ee70c1d9d97a70133afe54e977d08d9;p=gosa.git Printer extension mustn't be activated ... git-svn-id: https://oss.gonicus.de/repositories/gosa/branches/2.5@4647 594d385d-05f5-0310-b6e9-bd551577e9d8 --- 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 */