From 8ce1a365c146ae064119615cd49b425704b88231 Mon Sep 17 00:00:00 2001 From: daniel Date: Mon, 9 Dec 2024 16:37:40 +0100 Subject: [PATCH] fix error 500 #226 --- pandora_console/godmode/wizards/HostDevices.class.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pandora_console/godmode/wizards/HostDevices.class.php b/pandora_console/godmode/wizards/HostDevices.class.php index 97cc9c439c..16ad102299 100755 --- a/pandora_console/godmode/wizards/HostDevices.class.php +++ b/pandora_console/godmode/wizards/HostDevices.class.php @@ -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; }