Code

Updated loading of kernel packages
authorhickert <hickert@594d385d-05f5-0310-b6e9-bd551577e9d8>
Fri, 27 May 2011 11:17:10 +0000 (11:17 +0000)
committerhickert <hickert@594d385d-05f5-0310-b6e9-bd551577e9d8>
Fri, 27 May 2011 11:17:10 +0000 (11:17 +0000)
git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@20899 594d385d-05f5-0310-b6e9-bd551577e9d8

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

index 5ef44635d4e894edb3cecaabfd316fa1ddc375e0..c3908a4054b6a7e992bd51c7ebdc854fa0e0dd19 100644 (file)
@@ -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();