summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: 6ae7a35)
raw | patch | inline | side by side (parent: 6ae7a35)
author | hickert <hickert@594d385d-05f5-0310-b6e9-bd551577e9d8> | |
Fri, 15 Jun 2007 07:27:12 +0000 (07:27 +0000) | ||
committer | hickert <hickert@594d385d-05f5-0310-b6e9-bd551577e9d8> | |
Fri, 15 Jun 2007 07:27:12 +0000 (07:27 +0000) |
git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@6598 594d385d-05f5-0310-b6e9-bd551577e9d8
plugins/admin/systems/class_terminalGeneric.inc | patch | blob | history |
diff --git a/plugins/admin/systems/class_terminalGeneric.inc b/plugins/admin/systems/class_terminalGeneric.inc
index 4ddfcb20ac2a7eeeb8e233096b054b38effc8c23..1526e213eb69a7f2ed2c5a44c4ef00b0a7c2b625 100644 (file)
/* 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();
+ }
}
}