From: hickert Date: Fri, 15 Jun 2007 07:27:12 +0000 (+0000) Subject: Fixed undefined index X-Git-Url: https://git.tokkee.org/?a=commitdiff_plain;h=90b681e6f4bd2354388cba4cbf1b5f2b02f2ec45;p=gosa.git Fixed undefined index git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@6598 594d385d-05f5-0310-b6e9-bd551577e9d8 --- diff --git a/plugins/admin/systems/class_terminalGeneric.inc b/plugins/admin/systems/class_terminalGeneric.inc index 4ddfcb20a..1526e213e 100644 --- a/plugins/admin/systems/class_terminalGeneric.inc +++ b/plugins/admin/systems/class_terminalGeneric.inc @@ -471,9 +471,10 @@ class termgeneric extends plugin /* Strip out 'default' values */ foreach (array("gotoTerminalPath", "gotoSwapServer", "gotoSyslogServer") as $val){ - - if ($this->attrs[$val] == "default"){ - $this->attrs[$val]= array(); + if(isset($this->attrs[$val])){ + if ($this->attrs[$val] == "default"){ + $this->attrs[$val]= array(); + } } }