Code

Get full information, even if no host is specified
authorcajus <cajus@594d385d-05f5-0310-b6e9-bd551577e9d8>
Tue, 19 Jan 2010 14:20:49 +0000 (14:20 +0000)
committercajus <cajus@594d385d-05f5-0310-b6e9-bd551577e9d8>
Tue, 19 Jan 2010 14:20:49 +0000 (14:20 +0000)
git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@15203 594d385d-05f5-0310-b6e9-bd551577e9d8

gosa-plugins/opsi/admin/opsi/class_opsigeneric.inc

index 64546c5a54cbe7e5933f0ce2003440abefdfd614..026d56d4c5ff1eb0eb39ec59191c796e24a80980 100644 (file)
@@ -127,9 +127,7 @@ class opsiGeneric extends plugin
 
     // Get package info
     $list = array(); 
-    if(!empty($this->hostId)){
-      $list = $this->opsi->get_full_product_host_information($this->hostId);
-    }
+    $list = $this->opsi->get_full_product_host_information($this->hostId);
     $err |= $this->opsi->is_error();
 
     /* Read informations about available netboot products.