2013-05-31 Miguel de Dios <miguel.dedios@artica.es>
* 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
This commit is contained in:
parent
bbe1c3c96f
commit
43d9cd8ef1
|
@ -1,3 +1,10 @@
|
|||
2013-05-31 Miguel de Dios <miguel.dedios@artica.es>
|
||||
|
||||
* 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 <sergio.martin@artica.es>
|
||||
|
||||
* include/styles/menu.css
|
||||
|
|
|
@ -1,5 +1,7 @@
|
|||
<?php
|
||||
|
||||
ob_start(); //HACK TO EAT ANYTHING THAT CORRUPS THE IMAGE FILE
|
||||
|
||||
// Copyright (c) 2005-2011 Artica Soluciones Tecnologicas
|
||||
// Please see http://pandorafms.org for full contribution list
|
||||
|
||||
|
@ -221,9 +223,9 @@ switch($graph_type) {
|
|||
case 'pie2d':
|
||||
break;
|
||||
default:
|
||||
if(!is_array(reset($data_values))) {
|
||||
if (!is_array(reset($data_values))) {
|
||||
$data_values = array($data_values);
|
||||
if(is_array($colors) && !empty($colors)) {
|
||||
if (is_array($colors) && !empty($colors)) {
|
||||
$colors = array($colors);
|
||||
}
|
||||
}
|
||||
|
@ -273,6 +275,8 @@ foreach($colors as $i => $color) {
|
|||
}
|
||||
}*/
|
||||
|
||||
ob_get_clean(); //HACK TO EAT ANYTHING THAT CORRUPS THE IMAGE FILE
|
||||
|
||||
switch($graph_type) {
|
||||
case 'pie3d':
|
||||
case 'pie2d':
|
||||
|
|
Loading…
Reference in New Issue