Code

Updated Installable Device to display kernel packages
authorhickert <hickert@594d385d-05f5-0310-b6e9-bd551577e9d8>
Fri, 20 May 2011 13:32:29 +0000 (13:32 +0000)
committerhickert <hickert@594d385d-05f5-0310-b6e9-bd551577e9d8>
Fri, 20 May 2011 13:32:29 +0000 (13:32 +0000)
git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@20892 594d385d-05f5-0310-b6e9-bd551577e9d8

gosa-plugins/goto/admin/systems/goto/Device/class_InstallRecipe.inc

index 211e33ccda4149ce7bf56b9b4a5e03fd864cd352..5ef44635d4e894edb3cecaabfd316fa1ddc375e0 100644 (file)
@@ -527,7 +527,7 @@ class InstallRecipe extends plugin
 
         $rpc = $this->config->getRpcHandle();
         $res = $rpc->getKernelPackages($this->installRelease);
-      
+     
         // Failed to load backend values, keep reported error and return with FALSE; 
         $this->rpcError = !$rpc->success();
         if(!$rpc->success()){
@@ -535,7 +535,8 @@ class InstallRecipe extends plugin
             msg_dialog::display(_("Error"), msgPool::rpcError($this->rpcErrorMessage), ERROR_DIALOG);
         }else{
             $this->installKernelPackageList = array();
-            foreach($res as $name){
+            foreach($res as $data){
+                $name = $data['name'];
                 $this->installKernelPackageList[$name] = $name;
             }