1
0
mirror of https://github.com/silverstripe/silverstripe-cms synced 2024-10-22 06:05:56 +00:00

FIX SiteTree visibility field name

This commit is contained in:
Florian Thoma 2022-01-25 11:49:11 +11:00
parent 480baa6ef8
commit b539924550

@ -2214,7 +2214,7 @@ class SiteTree extends DataObject implements PermissionProvider, i18nEntityProvi
);
$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,