summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: 6465f2f)
raw | patch | inline | side by side (parent: 6465f2f)
author | hickert <hickert@594d385d-05f5-0310-b6e9-bd551577e9d8> | |
Fri, 5 Sep 2008 14:00:43 +0000 (14:00 +0000) | ||
committer | hickert <hickert@594d385d-05f5-0310-b6e9-bd551577e9d8> | |
Fri, 5 Sep 2008 14:00:43 +0000 (14:00 +0000) |
git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@12372 594d385d-05f5-0310-b6e9-bd551577e9d8
gosa-plugins/opsi/admin/opsi/class_opsigeneric.inc | patch | blob | history |
diff --git a/gosa-plugins/opsi/admin/opsi/class_opsigeneric.inc b/gosa-plugins/opsi/admin/opsi/class_opsigeneric.inc
index 079335f2465bf1847ad664b2d4727f9d0aab4882..da4ccfd5578393d52ae69465706675db9069099b 100644 (file)
This is the case, if this product is newly selected.
Or if there was at least one configuration attribute modified.
*/
- $cfg_1 = $this->a_availableNetbootProducts[$this->s_selectedNetbootProduct]['CFG'];
- $cfg_2 = $this->a_initial_availableNetbootProducts[$this->s_selectedNetbootProduct]['CFG'];
+ $cfg_1 = $cfg_2 = array();
+ if(isset($this->a_availableNetbootProducts[$this->s_selectedNetbootProduct]['CFG'])){
+ $cfg_1 = $this->a_availableNetbootProducts[$this->s_selectedNetbootProduct]['CFG'];
+ }
+ if($this->a_initial_availableNetbootProducts[$this->s_selectedNetbootProduct]['CFG']){
+ $cfg_2 = $this->a_initial_availableNetbootProducts[$this->s_selectedNetbootProduct]['CFG'];
+ }
$diffs = $this->get_config_changes($cfg_1,$cfg_2);
$to_update = array();
if( !$this->initially_was_account ||