From e4f2d908ff3dd987fb0e1ac253e32ea919e9ac08 Mon Sep 17 00:00:00 2001 From: hickert Date: Fri, 22 Feb 2008 08:41:06 +0000 Subject: [PATCH] Updated workstation startup. -Undefined index warning git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@9048 594d385d-05f5-0310-b6e9-bd551577e9d8 --- .../goto/admin/systems/goto/class_workstationStartup.inc | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/gosa-plugins/goto/admin/systems/goto/class_workstationStartup.inc b/gosa-plugins/goto/admin/systems/goto/class_workstationStartup.inc index ca041d97b..3fc7268d6 100644 --- a/gosa-plugins/goto/admin/systems/goto/class_workstationStartup.inc +++ b/gosa-plugins/goto/admin/systems/goto/class_workstationStartup.inc @@ -854,7 +854,9 @@ class workstartup extends plugin } /* Check if LDAP server has changed */ - $ldap_changed= ($this->attrs['gotoLdapServer'] != $this->saved_attributes['gotoLdapServer']); + $ldap_changed= (isset($this->attrs['gotoLdapServer'])) && + (isset($this->saved_attributes['gotoLdapServer'])) && + ($this->attrs['gotoLdapServer'] != $this->saved_attributes['gotoLdapServer']); if (($this->attrs['gotoBootKernel'] == "default-inherited") || ($this->attrs['gotoBootKernel'] == "%default%")){ $this->attrs['gotoBootKernel']= array(); -- 2.30.2