fix error 500 #226
This commit is contained in:
parent
8761a28268
commit
8ce1a365c1
|
@ -1175,7 +1175,7 @@ class HostDevices extends Wizard
|
|||
|
||||
// License precheck.
|
||||
$license = enterprise_hook('license_get_info');
|
||||
if (empty($license) === false && license_enterprise_free() === true) {
|
||||
if (empty($license) === false && is_array($license) === true && license_enterprise_free() === true) {
|
||||
$license['limit'] = 50;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue