@@ -75,7 +75,7 @@ discard block |
||
| 75 | 75 | */ |
| 76 | 76 | public function getCMSFields() |
| 77 | 77 | { |
| 78 | - $this->beforeUpdateCMSFields(function ($fields) { |
|
| 78 | + $this->beforeUpdateCMSFields(function($fields) { |
|
| 79 | 79 | /* @var FieldList $fields */ |
| 80 | 80 | $fields->removeByName(array( |
| 81 | 81 | 'Sort', |
@@ -109,7 +109,7 @@ discard block |
||
| 109 | 109 | } else { |
| 110 | 110 | $label = ' panels'; |
| 111 | 111 | } |
| 112 | - return DBField::create_field('HTMLText', $this->Panels()->count() . $label)->Summary(20); |
|
| 112 | + return DBField::create_field('HTMLText', $this->Panels()->count().$label)->Summary(20); |
|
| 113 | 113 | } |
| 114 | 114 | |
| 115 | 115 | /** |