BUGFIX Fixed missing third argument to ComplexTableField_Item when the parent class instantiates it

git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/sapphire/branches/2.4@98448 467b73ca-7a2a-4603-9d3b-597d59a354a9
This commit is contained in:
Sean Harvey 2010-02-08 21:05:20 +00:00 committed by Sam Minnee
parent a7318bf846
commit 67e2157052

View File

@ -957,7 +957,7 @@ JS
$className = isset($item['RecordClassName']) ? $item['RecordClassName'] : $item['ClassName'];
$item = new $className($item);
}
$fieldItem = new $this->itemClass($item, $this);
$fieldItem = new $this->itemClass($item, $this, null);
$fields = $fieldItem->Fields(false);
$columnData = array();