2008-11-14 Esteban Sanchez <estebans@artica.es>

* include/functions_reporting.php: Fixed an error when calculating
        working data modules that affects to strings modules. Thanks to Glen
        Eustace for the report and fix.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@1243 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
This commit is contained in:
esanchezm 2008-11-14 09:11:55 +00:00
parent b4d7cf4acc
commit 6bec6417ea
2 changed files with 8 additions and 1 deletions

View File

@ -1,3 +1,9 @@
2008-11-14 Esteban Sanchez <estebans@artica.es>
* include/functions_reporting.php: Fixed an error when calculating
working data modules that affects to strings modules. Thanks to Glen
Eustace for the report and fix.
2008-11-11 Evi Vanoost <vanooste@rcbi.rochester.edu>
* operation/servers/view_server.php: Small language fix

View File

@ -203,7 +203,7 @@ function get_group_stats ($id_group) {
} elseif ($last_update >= ($row["current_interval"] * 2)) {
//The utimestamp is greater than 2x the interval (it has timed out)
$data["data_unknown"]++;
} elseif ($row["datos"] != 0) {
} elseif ($row["datos"]) {
//Status is something
$data["data_ok"]++;
} else {
@ -712,4 +712,5 @@ function get_agents_detailed_reporting ($id_group, $period = 0, $date = 0, $retu
echo $output;
return $output;
}
?>