From bddca0f6e6c76d6d9acbb4ea5a447b4778a18a0b Mon Sep 17 00:00:00 2001 From: hickert Date: Fri, 20 May 2011 13:32:29 +0000 Subject: [PATCH] Updated Installable Device to display kernel packages git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@20892 594d385d-05f5-0310-b6e9-bd551577e9d8 --- .../goto/admin/systems/goto/Device/class_InstallRecipe.inc | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/gosa-plugins/goto/admin/systems/goto/Device/class_InstallRecipe.inc b/gosa-plugins/goto/admin/systems/goto/Device/class_InstallRecipe.inc index 211e33ccd..5ef44635d 100644 --- a/gosa-plugins/goto/admin/systems/goto/Device/class_InstallRecipe.inc +++ b/gosa-plugins/goto/admin/systems/goto/Device/class_InstallRecipe.inc @@ -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; } -- 2.30.2