FIX: Revert last commit

git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/sapphire/branches/2.4@114464 467b73ca-7a2a-4603-9d3b-597d59a354a9
This commit is contained in:
Paul Meyrick 2010-12-02 23:38:15 +00:00 committed by Sam Minnee
parent 889f888c1a
commit 7864d8f250

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);