Skip to content

Commit 61d371e

Browse files
Merge pull request #208 from somardigital/pulls/207
FIX Update capitalisation of state variable
2 parents 21d23d6 + a20cdfa commit 61d371e

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)