Skip to content

Commit 58a0f91

Browse files
Merge branch '4.0' into 4
2 parents 1b2eef0 + 61d371e commit 58a0f91

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

src/Forms/GridFieldSiteTreeAddNewButton.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -83,7 +83,7 @@ public function getHTMLFragments($gridField)
8383
->setFieldHolderTemplate(__CLASS__ . '_holder')
8484
->addExtraClass('gridfield-dropdown no-change-track');
8585

86-
$state->RecordType = $parent->defaultChild();
86+
$state->recordType = $parent->defaultChild();
8787

8888
if (!$this->buttonName) {
8989
$this->buttonName = _t(

0 commit comments

Comments
 (0)