From 725f16787873220eae9a68cf5762269ca096bd30 Mon Sep 17 00:00:00 2001 From: Ramon Novoa Date: Wed, 23 Jun 2010 13:16:36 +0000 Subject: [PATCH] 2010-06-23 Ramon Novoa * include/fgraph.php: Continue drawing combined charts if modules without data are found. git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@2922 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f --- pandora_console/ChangeLog | 5 +++++ pandora_console/include/fgraph.php | 5 +---- 2 files changed, 6 insertions(+), 4 deletions(-) diff --git a/pandora_console/ChangeLog b/pandora_console/ChangeLog index d9e1028e12..84fcb7ea74 100644 --- a/pandora_console/ChangeLog +++ b/pandora_console/ChangeLog @@ -1,3 +1,8 @@ +2010-06-23 Ramon Novoa + + * include/fgraph.php: Continue drawing combined charts if modules + without data are found. + 2010-06-23 Sergio Martin * include/functions_html.php: Added a parameter into diff --git a/pandora_console/include/fgraph.php b/pandora_console/include/fgraph.php index 6b56b73c05..a7c29f1d3c 100644 --- a/pandora_console/include/fgraph.php +++ b/pandora_console/include/fgraph.php @@ -203,10 +203,7 @@ function graphic_combined_module ($module_list, $weight_list, $period, $width, $ // Check available data if (count ($data) < 2) { - if (!$graphic_type) { - return fs_error_image (); - } - graphic_error (); + continue; } // Data iterator