diff --git a/pandora_console/ChangeLog b/pandora_console/ChangeLog index 25f6ce249d..f896f6cb75 100644 --- a/pandora_console/ChangeLog +++ b/pandora_console/ChangeLog @@ -1,3 +1,13 @@ +2007-07-13 Sancho Lerena + + * operation/agentes/estado_ultimopaquete.php: Fixed problem with + modules in tagente_estado with no data (because they has not been + initializated, due from it's creation it cannot get real + data). This problem was detected because Recon don't create + instance for tagente_estado (this issue is also fixed in the next + commit). Now this page shown data for data that has a utimestamp + != 0. + 2007-07-02 Raul Mateos * operation/reporting/reporting.php: Reverting change. diff --git a/pandora_console/operation/agentes/estado_ultimopaquete.php b/pandora_console/operation/agentes/estado_ultimopaquete.php index 4917e43938..4cdb068fbe 100644 --- a/pandora_console/operation/agentes/estado_ultimopaquete.php +++ b/pandora_console/operation/agentes/estado_ultimopaquete.php @@ -56,7 +56,7 @@ if (comprueba_login() == 0) { $intervalo_agente = $row_t["intervalo"]; // Get last packet - $sql3='SELECT * FROM tagente_modulo, tagente_estado WHERE tagente_modulo.id_agente = '.$id_agente.' AND tagente_modulo.id_agente_modulo = tagente_estado.id_agente_modulo ORDER BY id_module_group, nombre'; + $sql3='SELECT * FROM tagente_modulo, tagente_estado WHERE tagente_modulo.id_agente = '.$id_agente.' AND tagente_estado.utimestamp != 0 AND tagente_modulo.id_agente_modulo = tagente_estado.id_agente_modulo ORDER BY id_module_group, nombre'; $label_group=0; $last_label = ""; echo "

".$lang_label["ag_title"]." > ";