Code

Updated license usage calls
authorhickert <hickert@594d385d-05f5-0310-b6e9-bd551577e9d8>
Mon, 28 Sep 2009 06:24:32 +0000 (06:24 +0000)
committerhickert <hickert@594d385d-05f5-0310-b6e9-bd551577e9d8>
Mon, 28 Sep 2009 06:24:32 +0000 (06:24 +0000)
git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@14359 594d385d-05f5-0310-b6e9-bd551577e9d8

gosa-plugins/opsi/admin/opsiLicenses/class_opsiLicenseHandler.inc

index 0a99b22231b74706b3259315a2593525f0e887ec..077b02e4227f8161b5ff77313e7979135e765528 100644 (file)
@@ -363,7 +363,7 @@ class opsiLicenceHandler extends opsi  {
     $data= array();
     $data['productId'] = htmlentities($productId);
     $res = $this->send_data("gosa_opsi_getLicenseInformationForProduct",$this->target,$data,TRUE);
-    if(isset($res['XML'][0]['ANSWER_OPSI_UNASSIGNALLSOFTWARELICENSESFROMHOST'])){
+    if(isset($res['XML'][0]['ANSWER_OPSI_GETLICENSEINFORMATIONFORPRODUCT'])){
       return($res['XML'][0]);
     }
     return(FALSE);