diff --git a/pandora_console/operation/agentes/alerts_status.php b/pandora_console/operation/agentes/alerts_status.php index 0590173859..9e833607b1 100755 --- a/pandora_console/operation/agentes/alerts_status.php +++ b/pandora_console/operation/agentes/alerts_status.php @@ -381,6 +381,7 @@ if ($print_agent) { } } +$table = new stdClass(); $table->width = '100%'; $table->class = "databox data"; $table->cellpadding = '0'; diff --git a/pandora_console/operation/agentes/estado_generalagente.php b/pandora_console/operation/agentes/estado_generalagente.php index 79d873e02b..9772bb55cd 100755 --- a/pandora_console/operation/agentes/estado_generalagente.php +++ b/pandora_console/operation/agentes/estado_generalagente.php @@ -59,6 +59,7 @@ if (! check_acl ($config["id_user"], $agent["id_grupo"], "AR") && !$is_extra) { } // START: TABLE AGENT BUILD +$table_agent = new stdClass(); $table_agent->id = 'agent_details_main'; $table_agent->width = '82%'; $table_agent->cellspacing = 0; @@ -182,6 +183,7 @@ $table_agent->rowclass[] = ''; // END: TABLE AGENT BUILD // START: TABLE CONTACT BUILD +$table_contact = new stdClass(); $table_contact->id = 'agent_contact_main'; $table_contact->width = '100%'; $table_contact->cellspacing = 0; @@ -225,6 +227,7 @@ $table_contact->data[] = $data; // END: TABLE CONTACT BUILD // START: TABLE DATA BUILD +$table_data = new stdClass(); $table_data->id = 'agent_data_main'; $table_data->width = '100%'; $table_data->cellspacing = 0; @@ -481,7 +484,7 @@ if (!empty($network_interfaces)) { // END: TABLE INTERFACES -$table = null; +$table = new stdClass(); $table->id = 'agent_details'; $table->width = '100%'; $table->cellspacing = 0; diff --git a/pandora_console/operation/agentes/estado_monitores.php b/pandora_console/operation/agentes/estado_monitores.php index a9e0ef036a..8fac965916 100755 --- a/pandora_console/operation/agentes/estado_monitores.php +++ b/pandora_console/operation/agentes/estado_monitores.php @@ -417,6 +417,7 @@ function print_form_filter_monitors($id_agent, $status_filter_monitor = -1, $status_text_monitor = '', $status_module_group=-1) { $form_text = ''; + $table = new stdClass(); $table->class = "databox filters"; $table->width = "100%"; $table->style[0] = 'font-weight: bold;'; diff --git a/pandora_console/operation/search_main.php b/pandora_console/operation/search_main.php index 32248844a2..288f2b7059 100644 --- a/pandora_console/operation/search_main.php +++ b/pandora_console/operation/search_main.php @@ -29,6 +29,7 @@ echo '
' $anyfound = false; +$table = new stdClass(); $table->id = 'summary'; $table->width = '98%';