BUGFIX: Removed double-call to augmentSQL in DataObject::get

git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/sapphire/trunk@80961 467b73ca-7a2a-4603-9d3b-597d59a354a9
This commit is contained in:
Sam Minnee 2009-07-03 03:45:11 +00:00
parent 2b61c12adc
commit 7f77bc4733

View File

@ -2527,8 +2527,6 @@ class DataObject extends ViewableData implements DataObjectInterface, i18nEntity
$query = $this->extendedSQL($filter, $sort, $limit, $join); $query = $this->extendedSQL($filter, $sort, $limit, $join);
$this->extend('augmentSQL', $query);
$records = $query->execute(); $records = $query->execute();
$ret = $this->buildDataObjectSet($records, $containerClass, $query, $this->class); $ret = $this->buildDataObjectSet($records, $containerClass, $query, $this->class);