From 3db0d3ac9d4fa1992cea8370b1da677dbf33ff76 Mon Sep 17 00:00:00 2001 From: mdtrooper Date: Tue, 13 Mar 2012 17:07:05 +0000 Subject: [PATCH] 2012-03-13 Miguel de Dios * godmode/reporting/graph_builder.main.php: fixed lost require PHP functions file, that before the php crashed because it tryed to call to unknow function. git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@5759 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f --- pandora_console/ChangeLog | 6 ++++++ pandora_console/godmode/reporting/graph_builder.main.php | 5 ++++- 2 files changed, 10 insertions(+), 1 deletion(-) diff --git a/pandora_console/ChangeLog b/pandora_console/ChangeLog index 898b5e7c81..c960635316 100644 --- a/pandora_console/ChangeLog +++ b/pandora_console/ChangeLog @@ -1,3 +1,9 @@ +2012-03-13 Miguel de Dios + + * godmode/reporting/graph_builder.main.php: fixed lost require PHP functions + file, that before the php crashed because it tryed to call to unknow + function. + 2012-03-13 Miguel de Dios * godmode/reporting/reporting_builder.preview.php: fixed when the Pandora diff --git a/pandora_console/godmode/reporting/graph_builder.main.php b/pandora_console/godmode/reporting/graph_builder.main.php index e34d74230d..6de1f90084 100644 --- a/pandora_console/godmode/reporting/graph_builder.main.php +++ b/pandora_console/godmode/reporting/graph_builder.main.php @@ -15,6 +15,8 @@ global $config; +require_once('include/functions_custom_graphs.php'); + if (is_ajax ()) { $search_agents = (bool) get_parameter ('search_agents'); @@ -63,7 +65,8 @@ if ($edit_graph) { $id_group = $graphInTgraph['id_group']; $width = $graphInTgraph['width']; $height = $graphInTgraph['height']; -}else { +} +else { $id_agent = 0; $id_module = 0; $id_group = 0;