Skip to content

Commit a20cdfa

Browse files
committed
FIX Update capitalisation of state variable
1 parent 21d23d6 commit a20cdfa

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)