Code

Only call other tabs, if they are initialised
authorhickert <hickert@594d385d-05f5-0310-b6e9-bd551577e9d8>
Thu, 21 Sep 2006 05:13:30 +0000 (05:13 +0000)
committerhickert <hickert@594d385d-05f5-0310-b6e9-bd551577e9d8>
Thu, 21 Sep 2006 05:13:30 +0000 (05:13 +0000)
git-svn-id: https://oss.gonicus.de/repositories/gosa/branches/2.5@4750 594d385d-05f5-0310-b6e9-bd551577e9d8

plugins/admin/systems/tabs_terminal.inc

index 92a3f801b4d75e3b90c9804595531e61da534e28..7e98d82a8b32e33630dc57923185b513faf44c38 100644 (file)
@@ -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;
+    }
   }