From 052d888ac4ced21567b4e5ab5548e0ec7943a769 Mon Sep 17 00:00:00 2001 From: Fermin Date: Mon, 8 Oct 2018 18:53:21 +0200 Subject: [PATCH] Fixed a minor warning --- pandora_console/godmode/massive/massive_edit_agents.php | 1 + 1 file changed, 1 insertion(+) diff --git a/pandora_console/godmode/massive/massive_edit_agents.php b/pandora_console/godmode/massive/massive_edit_agents.php index f543772648..a6e101403c 100755 --- a/pandora_console/godmode/massive/massive_edit_agents.php +++ b/pandora_console/godmode/massive/massive_edit_agents.php @@ -327,6 +327,7 @@ $agents = agents_get_group_agents (array_keys ($groups)); $modules = db_get_all_rows_sql("SELECT id_agente_modulo as id_module, nombre as name FROM tagente_modulo WHERE id_agente = " . $id_parent); +if ($modules === false) $modules = array(); $modules_values = array(); $modules_values[0] = __('Any');