2012-02-28 Juan Manuel Ramon <juanmanuel.ramon@artica.es>

* operation/agentes/estado_ultimopaquete.php: Fixed bug in this view
	When a module is in a unknown status shows "NeverUnknown" instead of 
	"Unknow".
	
	Fixes: #3487321



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@5658 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
This commit is contained in:
juanmanuelr 2012-02-28 11:17:11 +00:00
parent 9c49af839b
commit 692e49c57b
2 changed files with 9 additions and 4 deletions

View File

@ -1,3 +1,11 @@
2012-02-28 Juan Manuel Ramon <juanmanuel.ramon@artica.es>
* operation/agentes/estado_ultimopaquete.php: Fixed bug in this view
When a module is in a unknown status shows "NeverUnknown" instead of
"Unknow".
Fixes: #3487321
2012-02-28 Juan Manuel Ramon <juanmanuel.ramon@artica.es>
* operation/events/events_list.php

View File

@ -474,10 +474,7 @@ foreach ($modules as $module) {
}
echo "<td class='".$tdcolor."f9'>";
if ($module["utimestamp"] == 0){
echo __('Never');
}
else {
if ($module["utimestamp"] != 0){
$seconds = get_system_time () - $module["utimestamp"];
if ($module['id_tipo_modulo'] < 21 && $module["module_interval"] > 0 && $module["utimestamp"] > 0 && $seconds >= ($module["module_interval"] * 2)) {
echo '<span class="redb">';