2012-02-27 Juan Manuel Ramon <juanmanuel.ramon@artica.es>

* include/functions_graph.php: Added call to fs_error_image function 
	when there is no data in a sparse graph.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@5648 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
This commit is contained in:
juanmanuelr 2012-02-27 12:06:03 +00:00
parent 5bfbd5690c
commit 314e558988
2 changed files with 6 additions and 1 deletions

View File

@ -1,3 +1,8 @@
2012-02-27 Juan Manuel Ramon <juanmanuel.ramon@artica.es>
* 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 <vanessa.gil@artica.es>
* pandoradb.sql

View File

@ -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 ();