diff --git a/pages/announcement/AnnouncementHandler.php b/pages/announcement/AnnouncementHandler.php index 3a242ba3d3a..f9e2fda141e 100644 --- a/pages/announcement/AnnouncementHandler.php +++ b/pages/announcement/AnnouncementHandler.php @@ -83,7 +83,7 @@ public function view($args, $request) ) { $templateMgr = TemplateManager::getManager($request); $templateMgr->assign('announcement', $announcement); - $templateMgr->assign('announcementTitle', $announcement->getLocalizedTitleFull()); + $templateMgr->assign('announcementTitle', $announcement->getLocalizedData('fullTitle')); return $templateMgr->display('frontend/pages/announcement.tpl'); } $request->redirect(null, 'announcement'); diff --git a/templates/frontend/objects/announcement_full.tpl b/templates/frontend/objects/announcement_full.tpl index 425147f0e95..62ecb461d7b 100644 --- a/templates/frontend/objects/announcement_full.tpl +++ b/templates/frontend/objects/announcement_full.tpl @@ -18,7 +18,7 @@
{$announcement->getAttribute('datePosted')|date_format:$dateFormatShort}
- {if $announcement->getData('image')} + {if $announcement->getAttribute('image')}