From 6b7969ac93767f268eb0b00f568e83a6e8f912c6 Mon Sep 17 00:00:00 2001 From: hickert Date: Thu, 21 Sep 2006 05:13:30 +0000 Subject: [PATCH] Only call other tabs, if they are initialised git-svn-id: https://oss.gonicus.de/repositories/gosa/branches/2.5@4750 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 92a3f801b..7e98d82a8 100644 --- a/plugins/admin/systems/tabs_terminal.inc +++ b/plugins/admin/systems/tabs_terminal.inc @@ -31,8 +31,10 @@ class termtabs extends tabs tabs::save_object($save_current); /* Update reference, transfer variables */ - $this->by_object['termstartup']->gotoTerminalPath= - $this->by_object['termgeneric']->gotoTerminalPath; + if(isset($this->by_object['termstartup'])){ + $this->by_object['termstartup']->gotoTerminalPath= + $this->by_object['termgeneric']->gotoTerminalPath; + } } -- 2.30.2