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;