Skip to content

Commit

Permalink
phpcs
Browse files Browse the repository at this point in the history
  • Loading branch information
jsirish committed Aug 30, 2023
1 parent f6dc4dc commit 834fe1e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Extension/SeoExtension.php
Original file line number Diff line number Diff line change
Expand Up @@ -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);
Expand Down

0 comments on commit 834fe1e

Please sign in to comment.