From bf7afab099880fd4ed8095dfbf9a9a3d6dbec93b Mon Sep 17 00:00:00 2001 From: hickert Date: Fri, 27 May 2011 11:17:10 +0000 Subject: [PATCH] Updated loading of kernel packages git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@20899 594d385d-05f5-0310-b6e9-bd551577e9d8 --- .../goto/admin/systems/goto/Device/class_InstallRecipe.inc | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) 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(); -- 2.30.2