From: hickert Date: Mon, 6 Oct 2008 05:26:49 +0000 (+0000) Subject: Updated opsi. X-Git-Url: https://git.tokkee.org/?a=commitdiff_plain;h=95896e30d897fefd511f6575ea9c2c59462bb3f7;p=gosa.git Updated opsi. -Couldn't create clients. git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@12595 594d385d-05f5-0310-b6e9-bd551577e9d8 --- diff --git a/gosa-plugins/opsi/admin/opsi/class_opsigeneric.inc b/gosa-plugins/opsi/admin/opsi/class_opsigeneric.inc index da4ccfd55..e69202753 100644 --- a/gosa-plugins/opsi/admin/opsi/class_opsigeneric.inc +++ b/gosa-plugins/opsi/admin/opsi/class_opsigeneric.inc @@ -178,7 +178,7 @@ class opsiGeneric extends plugin }else{ /* Remember initial settings */ - $this->is_account = $this->initially_was_account; + $this->is_account = $this->initially_was_account = TRUE; $this->a_initial_selectedLocalProducts = $this->a_selectedLocalProducts; $this->s_initial_selectedNetbootProduct = $this->s_selectedNetbootProduct; $this->a_initial_availableNetbootProducts = $this->a_availableNetbootProducts; @@ -187,9 +187,7 @@ class opsiGeneric extends plugin */ if(empty($this->s_selectedNetbootProduct)){ $this->s_selectedNetbootProduct = key($this->a_availableNetbootProducts); - echo $this->s_selectedNetbootProduct; } - } } @@ -453,7 +451,7 @@ class opsiGeneric extends plugin 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']){ + if(isset($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);