2011-09-23 Miguel de Dios <miguel.dedios@artica.es>

* operation/agentes/status_monitor.php: fixed the query for to don't show
	the "not_init" modules.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@4989 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
This commit is contained in:
mdtrooper 2011-09-23 10:35:30 +00:00
parent cd5f90829a
commit 8005a2021f
2 changed files with 6 additions and 1 deletions

View File

@ -1,3 +1,8 @@
2011-09-23 Miguel de Dios <miguel.dedios@artica.es>
* operation/agentes/status_monitor.php: fixed the query for to don't show
the "not_init" modules.
2011-09-23 Tomas Palacios <tomas.palacios@artica.es>
* include/languages: Updated language files.

View File

@ -239,7 +239,7 @@ elseif ($status == 4) { //Not normal
$sql .= " AND tagente_estado.estado <> 0";
}
elseif ($status == 3) { //Unknown
$sql .= " AND tagente_estado.estado = 3";
$sql .= " AND tagente_estado.estado = 3 AND tagente_estado.utimestamp <> 0";
}
elseif ($status == 5) { //Not init
$sql .= " AND tagente_estado.utimestamp = 0 AND tagente_modulo.id_tipo_modulo NOT IN (21,22,23,100)";