Skip to content

Commit

Permalink
Bugfix: Page description is set in ModuleRealEstateExpose by the real…
Browse files Browse the repository at this point in the history
… estate record.
  • Loading branch information
eki89 committed Mar 1, 2021
1 parent 57abbbe commit ce98dab
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/Resources/contao/modules/ModuleRealEstateExpose.php
Original file line number Diff line number Diff line change
Expand Up @@ -118,6 +118,7 @@ protected function compile()
}

$objPage->pageTitle = $objRealEstate->objekttitel;
$objPage->description = $this->prepareMetaDescription($objRealEstate->objektbeschreibung);

// HOOK: compile real estate expose
if (isset($GLOBALS['TL_HOOKS']['compileRealEstateExpose']) && \is_array($GLOBALS['TL_HOOKS']['compileRealEstateExpose']))
Expand Down

0 comments on commit ce98dab

Please sign in to comment.