Code

Fixed undefined index ..
authorhickert <hickert@594d385d-05f5-0310-b6e9-bd551577e9d8>
Thu, 21 Sep 2006 05:05:07 +0000 (05:05 +0000)
committerhickert <hickert@594d385d-05f5-0310-b6e9-bd551577e9d8>
Thu, 21 Sep 2006 05:05:07 +0000 (05:05 +0000)
git-svn-id: https://oss.gonicus.de/repositories/gosa/branches/2.5@4749 594d385d-05f5-0310-b6e9-bd551577e9d8

plugins/admin/systems/class_terminalGeneric.inc

index f87becda7cafe67d1d273170c7e29d0ac8ee9bc7..da6f3710a6220d9b47947b472cd798d69f5033b7 100644 (file)
@@ -339,8 +339,10 @@ class termgeneric extends plugin
     }
 
     /* Save terminal path to parent since it is used by termstartup, too */
+    if(isset($this->parent->by_object['termstartup'])){
     $this->parent->by_object['termstartup']->gotoTerminalPath=
       $this->gotoTerminalPath;
+    }
   
     if(isset($_POST['termgeneric_posted'])){
       if(isset($_POST["inheritTimeServer"])){