Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

BUG Fixed declaration of Versioned::updateCMSFields to be compatible …

…with DataExtension::updateCMSFields
  • Loading branch information...
commit 734a5fb4694bca8f00dab3fa66687929c72f6132 1 parent 9bda0b7
@tractorcow tractorcow authored
Showing with 1 addition and 1 deletion.
  1. +1 −1  model/Versioned.php
View
2  model/Versioned.php
@@ -1316,7 +1316,7 @@ public function updateFieldLabels(&$labels) {
/**
* @param FieldList
*/
- public function updateCMSFields(&$fields) {
+ public function updateCMSFields(FieldList $fields) {
// remove the version field from the CMS as this should be left
// entirely up to the extension (not the cms user).
$fields->removeByName('Version');
Please sign in to comment.
Something went wrong with that request. Please try again.