fixed a bug if a chart was drawn for a query result of one row
This commit is contained in:
@@ -120,7 +120,7 @@
|
|||||||
function AddPoint($Value,$Serie="Serie1",$Description="")
|
function AddPoint($Value,$Serie="Serie1",$Description="")
|
||||||
{
|
{
|
||||||
if (is_array($Value) && count($Value) == 1)
|
if (is_array($Value) && count($Value) == 1)
|
||||||
$Value = $Value[0];
|
$Value = array_pop($Value);
|
||||||
|
|
||||||
$ID = 0;
|
$ID = 0;
|
||||||
for($i=0;$i<=count($this->Data);$i++)
|
for($i=0;$i<=count($this->Data);$i++)
|
||||||
|
Reference in New Issue
Block a user