Skip to content
Permalink
Browse files

Fix subject name on Title

  • Loading branch information...
810 committed Apr 22, 2019
1 parent 7033a92 commit a1168e460e94796e41d1269b9e1021d9a0d227a6
Showing with 2 additions and 2 deletions.
  1. +2 −2 src/components/com_kunena/controller/topic/item/display.php
@@ -210,13 +210,13 @@ protected function before()
$this->userTopic = $this->topic->getUserTopic();
$this->quickReply = $this->topic->isAuthorised('reply') && $this->me->exists() && KunenaConfig::getInstance()->quickreply;
$subject = KunenaHtmlParser::parseBBCode($this->topic->displayField('subject'));
$this->headerText = KunenaHtmlParser::parseBBCode($this->topic->displayField('subject'));
$data = new CMSObject;
$data->{'@context'} = "http://schema.org";
$data->{'@type'} = "DiscussionForumPosting";
$data->{'id'} = Joomla\CMS\Uri\Uri::getInstance()->toString(array('scheme', 'host', 'port')) . $this->topic->getPermaUrl();
$data->{'headline'} = $subject;
$data->{'headline'} = $this->headerText;
$data->{'image'} = $this->docImage();
$data->author = array();
$tmp = new CMSObject;

0 comments on commit a1168e4

Please sign in to comment.
You can’t perform that action at this time.