From 49f2dc35f89f2756557b8ad699474ac8227ccc52 Mon Sep 17 00:00:00 2001 From: Jonathan Date: Fri, 4 Aug 2023 12:23:09 +0200 Subject: [PATCH] #fix agent manager --- pandora_console/godmode/agentes/agent_manager.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pandora_console/godmode/agentes/agent_manager.php b/pandora_console/godmode/agentes/agent_manager.php index 82540a7a64..70c2b1cf60 100644 --- a/pandora_console/godmode/agentes/agent_manager.php +++ b/pandora_console/godmode/agentes/agent_manager.php @@ -931,7 +931,7 @@ foreach ($fields as $field) { // Filling the data. $combo = []; $combo = $field['combo_values']; - $combo = explode(',', (empty($combo) === true) ? [] : $combo); + $combo = explode(',', (empty($combo) === true) ? '' : $combo); $combo_values = []; foreach ($combo as $value) { $combo_values[$value] = $value;