Skip to content

Commit

Permalink
Merge pull request #2717 from xini/fix-visibility-field
Browse files Browse the repository at this point in the history
FIX SiteTree visibility field name
  • Loading branch information
kinglozzer authored Jan 25, 2022
2 parents 480baa6 + b539924 commit ca08614
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion code/Model/SiteTree.php
Original file line number Diff line number Diff line change
Expand Up @@ -2214,7 +2214,7 @@ public function getSettingsFields()
);

$parentType->addExtraClass('noborder');
$visibility->setTitle($this->fieldLabel('Visibility'));
$visibility->setName('Visibility')->setTitle($this->fieldLabel('Visibility'));


// This filter ensures that the ParentID dropdown selection does not show this node,
Expand Down

0 comments on commit ca08614

Please sign in to comment.