From f378e0b4b5c1b2d222aca1f2fa37805f6ebfaafd Mon Sep 17 00:00:00 2001 From: Chris Morgan Date: Mon, 24 Sep 2007 22:25:49 -0400 Subject: [PATCH] We can't use $aArray += $oObject to add a single object to an array, switch to $aArray[] = $oObject instead --- include/distribution.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/include/distribution.php b/include/distribution.php index 52c08a9..a51cdef 100644 --- a/include/distribution.php +++ b/include/distribution.php @@ -224,7 +224,7 @@ class distribution { $hResult = query_parameters($sQuery, $this->iDistributionId); while($oRow = mysql_fetch_object($hResult)) - $aTests += new testData(null, $oRow); + $aTests[] = new testData(null, $oRow); return $aTests; }