mirror of
https://github.com/silverstripe/silverstripe-framework
synced 2024-10-22 14:05:37 +02:00
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:
parent
a7318bf846
commit
67e2157052
@ -957,7 +957,7 @@ JS
|
|||||||
$className = isset($item['RecordClassName']) ? $item['RecordClassName'] : $item['ClassName'];
|
$className = isset($item['RecordClassName']) ? $item['RecordClassName'] : $item['ClassName'];
|
||||||
$item = new $className($item);
|
$item = new $className($item);
|
||||||
}
|
}
|
||||||
$fieldItem = new $this->itemClass($item, $this);
|
$fieldItem = new $this->itemClass($item, $this, null);
|
||||||
|
|
||||||
$fields = $fieldItem->Fields(false);
|
$fields = $fieldItem->Fields(false);
|
||||||
$columnData = array();
|
$columnData = array();
|
||||||
|
Loading…
Reference in New Issue
Block a user