From: hickert Date: Fri, 22 Feb 2008 08:41:06 +0000 (+0000) Subject: Updated workstation startup. X-Git-Url: https://git.tokkee.org/?a=commitdiff_plain;h=e4f2d908ff3dd987fb0e1ac253e32ea919e9ac08;p=gosa.git Updated workstation startup. -Undefined index warning git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@9048 594d385d-05f5-0310-b6e9-bd551577e9d8 --- 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();