@@ -78,7 +78,7 @@ discard block |
||
78 | 78 | */ |
79 | 79 | public function getCMSFields() |
80 | 80 | { |
81 | - $this->beforeUpdateCMSFields(function (FieldList $fields) { |
|
81 | + $this->beforeUpdateCMSFields(function(FieldList $fields) { |
|
82 | 82 | $fields->dataFieldByName('Content') |
83 | 83 | ->setRows(8) |
84 | 84 | ; |
@@ -117,7 +117,7 @@ discard block |
||
117 | 117 | } else { |
118 | 118 | $label = ' promos'; |
119 | 119 | } |
120 | - return DBField::create_field('HTMLText', $this->Promos()->count() . $label)->Summary(20); |
|
120 | + return DBField::create_field('HTMLText', $this->Promos()->count().$label)->Summary(20); |
|
121 | 121 | } |
122 | 122 | |
123 | 123 | /** |