diff --git a/src/Extension/SeoExtension.php b/src/Extension/SeoExtension.php index 7c63998..afe3dc6 100644 --- a/src/Extension/SeoExtension.php +++ b/src/Extension/SeoExtension.php @@ -47,7 +47,7 @@ public function updateCMSFields(FieldList $fields) } } - if (!$this->owner instanceof VirtualPage || + if (!$this->owner instanceof VirtualPage || in_array('MetaDescription', $this->owner->config()->get('non_virtual_fields'))) { if ($meta_description = $fields->dataFieldByName('MetaDescription')) { $meta_description->setTargetLength(130, 70, static::META_CHAR_COUNT_MAX);