summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: 8454056)
raw | patch | inline | side by side (parent: 8454056)
author | hickert <hickert@594d385d-05f5-0310-b6e9-bd551577e9d8> | |
Fri, 22 Feb 2008 08:41:06 +0000 (08:41 +0000) | ||
committer | hickert <hickert@594d385d-05f5-0310-b6e9-bd551577e9d8> | |
Fri, 22 Feb 2008 08:41:06 +0000 (08:41 +0000) |
-Undefined index warning
git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@9048 594d385d-05f5-0310-b6e9-bd551577e9d8
git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@9048 594d385d-05f5-0310-b6e9-bd551577e9d8
gosa-plugins/goto/admin/systems/goto/class_workstationStartup.inc | patch | blob | history |
diff --git a/gosa-plugins/goto/admin/systems/goto/class_workstationStartup.inc b/gosa-plugins/goto/admin/systems/goto/class_workstationStartup.inc
index ca041d97b073ec04a421c93412f080438a0059ed..3fc7268d69436b342784ca68f39daf8e1314564a 100644 (file)
}
/* 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();