fixed a bug if a chart was drawn for a query result of one row

This commit is contained in:
Martynas Mickevicius
2010-07-29 20:12:10 +03:00
parent 0b620df912
commit 1c1d555002

View File

@@ -120,7 +120,7 @@
function AddPoint($Value,$Serie="Serie1",$Description="")
{
if (is_array($Value) && count($Value) == 1)
$Value = $Value[0];
$Value = array_pop($Value);
$ID = 0;
for($i=0;$i<=count($this->Data);$i++)