From: hickert Date: Fri, 27 May 2011 11:17:10 +0000 (+0000) Subject: Updated loading of kernel packages X-Git-Url: https://git.tokkee.org/?a=commitdiff_plain;h=bf7afab099880fd4ed8095dfbf9a9a3d6dbec93b;p=gosa.git Updated loading of kernel packages git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@20899 594d385d-05f5-0310-b6e9-bd551577e9d8 --- 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 5ef44635d..c3908a405 100644 --- a/gosa-plugins/goto/admin/systems/goto/Device/class_InstallRecipe.inc +++ b/gosa-plugins/goto/admin/systems/goto/Device/class_InstallRecipe.inc @@ -525,8 +525,9 @@ class InstallRecipe extends plugin return; } + $release = preg_replace("/^[^\/]*\//","", $this->installRelease); $rpc = $this->config->getRpcHandle(); - $res = $rpc->getKernelPackages($this->installRelease); + $res = $rpc->getKernelPackages($release); // Failed to load backend values, keep reported error and return with FALSE; $this->rpcError = !$rpc->success();