Merge branch '226-error-500-tras-correccion-de-ticket-223-2' into 'develop'
Resolve "Error 500 tras corrección de ticket 223." See merge request artica/pandorafms!7465
This commit is contained in:
commit
af9455f307
|
@ -1175,7 +1175,7 @@ class HostDevices extends Wizard
|
||||||
|
|
||||||
// License precheck.
|
// License precheck.
|
||||||
$license = enterprise_hook('license_get_info');
|
$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;
|
$license['limit'] = 50;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue