From 0b620df9129c11087bde584b6f6f9e00b90e0f66 Mon Sep 17 00:00:00 2001 From: Martynas Mickevicius Date: Thu, 29 Jul 2010 19:15:08 +0300 Subject: [PATCH] enable warning report to the chart. --- libraries/chart/pma_pchart_chart.php | 2 ++ 1 file changed, 2 insertions(+) diff --git a/libraries/chart/pma_pchart_chart.php b/libraries/chart/pma_pchart_chart.php index f3556c1dd..083174b21 100644 --- a/libraries/chart/pma_pchart_chart.php +++ b/libraries/chart/pma_pchart_chart.php @@ -53,6 +53,8 @@ abstract class PMA_pChart_Chart extends PMA_Chart // create pData object $this->dataSet = new pData; + $this->chart->reportWarnings('GD'); + // initialize colors foreach ($this->getColors() as $key => $color) { $this->chart->setColorPalette(