We can't use $aArray += $oObject to add a single object to an array, switch to $aArray[] = $oObject instead

This commit is contained in:
Chris Morgan
2007-09-24 22:25:49 -04:00
parent e07e0f5f11
commit f378e0b4b5

View File

@@ -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;
}