diff --git a/src/extensions/MarkdownDataObjectExtension.php b/src/extensions/MarkdownDataObjectExtension.php index df33c87..b252f38 100644 --- a/src/extensions/MarkdownDataObjectExtension.php +++ b/src/extensions/MarkdownDataObjectExtension.php @@ -37,10 +37,10 @@ public function updateCMSFields(FieldList $fields) $description = $field->description; $attributes = $field->attributes; - $row = 30; + $rows = 30; if (array_key_exists('rows', $attributes)) { - $row = $attributes['rows']; + $rows = $attributes['rows']; } $markdownField = MarkdownEditorField::create($name, $title)