From 7eedd0387db12235f529b11158683dca6c4b6522 Mon Sep 17 00:00:00 2001 From: Martynas Mickevicius Date: Fri, 9 Jul 2010 16:08:53 +0300 Subject: [PATCH] Fixed a case where a notice was generated when the first point was added to the data set. --- libraries/chart/pChart/pData.class | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/libraries/chart/pChart/pData.class b/libraries/chart/pChart/pData.class index 49d2fcc56..efc2a6508 100644 --- a/libraries/chart/pChart/pData.class +++ b/libraries/chart/pChart/pData.class @@ -52,7 +52,7 @@ function pData() { - $this->Data = ""; + $this->Data = array(); $this->DataDescription = ""; $this->DataDescription["Position"] = "Name"; $this->DataDescription["Format"]["X"] = "number";