fix error 500 #226

This commit is contained in:
daniel 2024-12-09 16:37:40 +01:00
parent 8761a28268
commit 8ce1a365c1
1 changed files with 1 additions and 1 deletions

View File

@ -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;
}