diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 19f7e63..bf02210 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -9,5 +9,3 @@ jobs: ci: name: CI uses: silverstripe/gha-ci/.github/workflows/ci.yml@v1 - with: - phpcoverage: true diff --git a/src/Model/BaseElementObject.php b/src/Model/BaseElementObject.php index d16678a..bf3b0e5 100644 --- a/src/Model/BaseElementObject.php +++ b/src/Model/BaseElementObject.php @@ -134,8 +134,7 @@ public function getCMSFields() $fields->removeByName('ShowTitle'); $fields->replaceField( 'Title', - TextCheckboxGroupField::create() - ->setName('Title') + TextCheckboxGroupField::create('Title') ->setTitle($this->fieldLabel('Title')) );