Module: appdb Branch: master Commit: f378e0b4b5c1b2d222aca1f2fa37805f6ebfaafd URL: http://source.winehq.org/git/appdb.git/?a=commit;h=f378e0b4b5c1b2d222aca1f2f...
Author: Chris Morgan cmorgan@alum.wpi.edu Date: Mon Sep 24 22:25:49 2007 -0400
We can't use $aArray += $oObject to add a single object to an array, switch to $aArray[] = $oObject instead
---
include/distribution.php | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-)
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; }