2008-10-14 Evi Vanoost <vanooste@rcbi.rochester.edu>

* reporting/fgraph.php: Fixed a bug that wouldn't render specific
	stats from data overview

git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@1154 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
This commit is contained in:
guruevi 2008-10-14 19:40:29 +00:00
parent f493719afd
commit 6fd57f6a3f
2 changed files with 8 additions and 2 deletions

View File

@ -1,3 +1,8 @@
2008-10-14 Evi Vanoost <vanooste@rcbi.rochester.edu>
* reporting/fgraph.php: Fixed a bug that wouldn't render specific
stats from data overview
2008-10-14 Sancho Lerena <slerena@artica.es>
* include/config_process.php, index.php: Updated version.

View File

@ -397,11 +397,12 @@ function graphic_combined_module ($module_list, $weight_list, $periodo, $width,
function grafico_modulo_sparse ($id_agente_modulo, $periodo, $show_event,
$width, $height , $title, $unit_name, $show_alert, $avg_only = 0, $pure = 0, $date = 0) {
include ("../include/config.php");
global $config;
require_once 'Image/Graph.php';
if (! $date)
if (empty ($date))
$date = time ();
$resolution = $config["graph_res"] * 50; // Number of "slices" we want in graph
$fechatope = $date - $periodo;