Skip to content

Commit

Permalink
fix variable (#14)
Browse files Browse the repository at this point in the history
Co-authored-by: ebakernz <[email protected]>
  • Loading branch information
ebakernz and ebakernz authored Nov 17, 2022
1 parent f7990e3 commit e43479e
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/Model/Extension/SeoPageExtension.php
Original file line number Diff line number Diff line change
Expand Up @@ -459,8 +459,8 @@ public function getPageMetaDescription()
if(class_exists(BlogPost::class)) {
if($this->owner instanceof BlogPost) {
if($this->owner->Parent()->DefaultPostMetaDescription == 1) {
if ($this->page->Summary) {
return strip_tags($this->page->Summary);
if ($this->owner->Summary) {
return strip_tags($this->owner->Summary);
}
}
}
Expand Down

0 comments on commit e43479e

Please sign in to comment.