From 26f096734f7ff1652139ad5b4cb0a5e2386a4506 Mon Sep 17 00:00:00 2001 From: mdtrooper Date: Fri, 31 May 2013 10:43:01 +0000 Subject: [PATCH] 2013-05-31 Miguel de Dios * include/graphs/functions_pchart.php: avoid to characters and other shit that corrupts the image file. MERGED FROM THE BRANCH PANDORA_4 git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@8239 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f --- pandora_console/ChangeLog | 7 +++++++ pandora_console/include/graphs/functions_pchart.php | 8 ++++++-- 2 files changed, 13 insertions(+), 2 deletions(-) diff --git a/pandora_console/ChangeLog b/pandora_console/ChangeLog index 9612928f0c..a63393f472 100644 --- a/pandora_console/ChangeLog +++ b/pandora_console/ChangeLog @@ -1,3 +1,10 @@ +2013-05-31 Miguel de Dios + + * include/graphs/functions_pchart.php: avoid to characters and + other shit that corrupts the image file. + + MERGED FROM THE BRANCH PANDORA_4 + 2013-05-30 Sergio Martin * include/styles/menu.css diff --git a/pandora_console/include/graphs/functions_pchart.php b/pandora_console/include/graphs/functions_pchart.php index c31e06c639..055d1cd2dc 100755 --- a/pandora_console/include/graphs/functions_pchart.php +++ b/pandora_console/include/graphs/functions_pchart.php @@ -1,5 +1,7 @@ $color) { } }*/ +ob_get_clean(); //HACK TO EAT ANYTHING THAT CORRUPS THE IMAGE FILE + switch($graph_type) { case 'pie3d': case 'pie2d':