diff --git a/pandora_console/godmode/agentes/configurar_agente.php b/pandora_console/godmode/agentes/configurar_agente.php
index 20fb00957e..02fa58e597 100644
--- a/pandora_console/godmode/agentes/configurar_agente.php
+++ b/pandora_console/godmode/agentes/configurar_agente.php
@@ -392,7 +392,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 e2f531017b..8381bf3aa7 100644
--- a/pandora_console/operation/agentes/ver_agente.php
+++ b/pandora_console/operation/agentes/ver_agente.php
@@ -1084,7 +1084,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'] =''
@@ -1165,7 +1165,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')))