Adrielpin / gchartphp

Automatically exported from code.google.com/p/gchartphp
0 stars 0 forks source link

extendedEncodeData() Bug #39

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
What steps will reproduce the problem?
1. $chart->setEncodingType('e')

What is the expected output? What do you see instead?
It should have encoded the data, but instead I got the following PHP error:

Warning: array_push() expects parameter 1 to be array, null given in 
/path/to/GChart.php on line 292

What version of the product are you using? On what operating system?
Latest -- Apache2/PHP5

Please provide any additional information below.
Insert $encodedData2 = array(); before line 284 of the file [line 33 of the 
function] to resolved the problem.

Original issue reported on code.google.com by nick.mal...@gmail.com on 2 Sep 2011 at 2:09

GoogleCodeExporter commented 8 years ago
Fixed it.  I will try to update the repo as soon as possible.
Thank you for the submission.

Original comment by bardellie on 3 Sep 2011 at 2:53