2010-05-04 Miguel de Dios <miguel.dedios@artica.es>
* include/functions_reporting.php: fixed in the function "get_agentmodule_data_average" prevent to use the var without value. git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@2662 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
This commit is contained in:
parent
451bcdc5fc
commit
9860502861
|
@ -1,3 +1,8 @@
|
|||
2010-05-04 Miguel de Dios <miguel.dedios@artica.es>
|
||||
|
||||
* include/functions_reporting.php: fixed in the function
|
||||
"get_agentmodule_data_average" prevent to use the var without value.
|
||||
|
||||
2010-05-04 Sergio Martin <sergio.martin@artica.es>
|
||||
|
||||
* include/functions_reporting.php: Added the
|
||||
|
|
|
@ -59,7 +59,7 @@ function get_agentmodule_data_average ($id_agent_module, $period, $date = 0) {
|
|||
$total = 0;
|
||||
$module_interval = get_module_interval ($id_agent_module);
|
||||
$previous_data = get_previous_data ($id_agent_module, $datelimit);
|
||||
if ($previous_data !== false) {
|
||||
if (($previous_data !== false) && (isset($interval_data))) {
|
||||
array_unshift ($interval_data, $values);
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue