From cb10d6d4a47e65b3ad1996ae20a019ecd7f66e47 Mon Sep 17 00:00:00 2001 From: Junichi Satoh Date: Tue, 22 May 2018 20:18:49 +0900 Subject: [PATCH] Fixed warnings and some icons are not shown correctly with php7.2. --- pandora_console/godmode/agentes/configurar_agente.php | 2 +- pandora_console/operation/agentes/ver_agente.php | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/pandora_console/godmode/agentes/configurar_agente.php b/pandora_console/godmode/agentes/configurar_agente.php index 5cf8e8a03d..05fcba4a77 100644 --- a/pandora_console/godmode/agentes/configurar_agente.php +++ b/pandora_console/godmode/agentes/configurar_agente.php @@ -391,7 +391,7 @@ if ($id_agente) { $grouptab['active'] = false; - $gistab = ""; + $gistab = array(); /* GIS tab */ if ($config['activate_gis']) { diff --git a/pandora_console/operation/agentes/ver_agente.php b/pandora_console/operation/agentes/ver_agente.php index 1fe124f841..8880959bb1 100644 --- a/pandora_console/operation/agentes/ver_agente.php +++ b/pandora_console/operation/agentes/ver_agente.php @@ -1060,7 +1060,7 @@ else { $tab = get_parameter ("tab", "main"); /* Manage tab */ -$managetab = ""; +$managetab = array(); if (check_acl_one_of_groups ($config['id_user'],$all_groups, "AW") || $is_extra) { $managetab['text'] ='' @@ -1141,7 +1141,7 @@ if ($url_route_analyzer) { } /* GIS tab */ -$gistab=""; +$gistab=array(); if ($config['activate_gis']) { $gistab['text'] = '' .html_print_image("images/op_gis.png", true, array( "title" => __('GIS data')))