X-Git-Url: https://git.tokkee.org/?a=blobdiff_plain;f=gosa-plugins%2Fopsi%2Fadmin%2FopsiLicenses%2Fclass_licenseGeneric.inc;h=22324e41efabc4c3d95cf30e562aea70afdc8483;hb=8e4873036c3a8f9b3cb27aed792f082e7058edcf;hp=7d815d40fae10b81f7fdb9d46e61acf888a0128d;hpb=5bf2179eff2d48460671d43eabeb422473c940aa;p=gosa.git diff --git a/gosa-plugins/opsi/admin/opsiLicenses/class_licenseGeneric.inc b/gosa-plugins/opsi/admin/opsiLicenses/class_licenseGeneric.inc index 7d815d40f..22324e41e 100644 --- a/gosa-plugins/opsi/admin/opsiLicenses/class_licenseGeneric.inc +++ b/gosa-plugins/opsi/admin/opsiLicenses/class_licenseGeneric.inc @@ -185,8 +185,8 @@ class licenseGeneric extends plugin if(isset($_POST['addLicenseUsage']) && isset($_POST['selectedHostToAdd'])){ $host = get_post('selectedHostToAdd'); if(!empty($host) && - in_array($host,$this->getHosts()) && - !in_array($host, $this->usedByHost)){ + in_array_strict($host,$this->getHosts()) && + !in_array_strict($host, $this->usedByHost)){ $this->usedByHost[] = $host; } }