FIX: Revert last commit (from r114464)

git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/sapphire/trunk@114548 467b73ca-7a2a-4603-9d3b-597d59a354a9
This commit is contained in:
Sam Minnee 2010-12-05 08:45:20 +00:00
parent aaf56e190f
commit 6de3e90527

View File

@ -823,7 +823,7 @@ class MySQLDatabase extends SS_Database {
$records = DB::query($fullQuery);
foreach($records as $record)
$objects[] = new $record['ClassName']($record);
$objects[] = new $record['ClassName']($record);
if(isset($objects)) $doSet = new DataObjectSet($objects);