diff --git a/pandora_console/ChangeLog b/pandora_console/ChangeLog index 893a567f82..f8a0850276 100644 --- a/pandora_console/ChangeLog +++ b/pandora_console/ChangeLog @@ -1,3 +1,8 @@ +2012-02-27 Juan Manuel Ramon + + * include/functions_graph.php: Added call to fs_error_image function + when there is no data in a sparse graph. + 2012-02-27 Vanessa Gil * pandoradb.sql diff --git a/pandora_console/include/functions_graph.php b/pandora_console/include/functions_graph.php index bf44f7f447..aa38f4541c 100755 --- a/pandora_console/include/functions_graph.php +++ b/pandora_console/include/functions_graph.php @@ -112,7 +112,7 @@ function grafico_modulo_sparse ($agent_module_id, $period, $show_events, if (count ($data) < $min_necessary) { if (!$graphic_type) { if (!$projection){ - return false; + return fs_error_image (); } else{ return fs_error_image ();