Code

Fixed problem with new opsi hosts, config of netbott wasn't written
authorhickert <hickert@594d385d-05f5-0310-b6e9-bd551577e9d8>
Fri, 5 Sep 2008 13:58:37 +0000 (13:58 +0000)
committerhickert <hickert@594d385d-05f5-0310-b6e9-bd551577e9d8>
Fri, 5 Sep 2008 13:58:37 +0000 (13:58 +0000)
-Updated property update for new clients

git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@12371 594d385d-05f5-0310-b6e9-bd551577e9d8

gosa-plugins/opsi/admin/opsi/class_opsigeneric.inc

index a4e5907640a7d7c68b3965ddb706e08e2c08055b..079335f2465bf1847ad664b2d4727f9d0aab4882 100644 (file)
@@ -455,7 +455,7 @@ class opsiGeneric extends plugin
     $to_update = array();
     if( !$this->initially_was_account || 
         $this->s_selectedNetbootProduct != $this->s_initial_selectedNetbootProduct){
-      $to_update = $this->a_availableNetbootProducts[$this->s_selectedNetbootProduct];
+      $to_update = $this->a_availableNetbootProducts[$this->s_selectedNetbootProduct]['CFG'];
     }elseif(count($diffs)){
       $to_update = $diffs;
     }