Skip to content

Commit

Permalink
fix page number topic
Browse files Browse the repository at this point in the history
  • Loading branch information
810 committed Jun 9, 2020
1 parent 21fef65 commit e62c8d1
Showing 1 changed file with 7 additions and 7 deletions.
14 changes: 7 additions & 7 deletions src/components/com_kunena/controller/topic/item/display.php
Original file line number Diff line number Diff line change
Expand Up @@ -225,7 +225,7 @@ protected function before()
$tmp = new CMSObject;
$tmp->{'@type'} = "Person";
$tmp->{'name'} = $this->topic->getLastPostAuthor()->username;
$data->{'author'} = $tmp;
$data->{'author'} = $tmp;
$data->interactionStatistic = array();
$tmp2 = new CMSObject;
$tmp2->{'@type'} = "InteractionCounter";
Expand Down Expand Up @@ -264,7 +264,7 @@ protected function before()
/**
* Prepare messages for display.
*
* @param int $mesid Selected message Id.
* @param int $mesid Selected message Id.
*
* @return void
* @throws Exception
Expand Down Expand Up @@ -337,8 +337,8 @@ protected function prepareMessages($mesid)
/**
* Change ordering of the displayed messages and apply threading.
*
* @param int $parent Parent Id.
* @param array $indent Indent for the current object.
* @param int $parent Parent Id.
* @param array $indent Indent for the current object.
*
* @return array
* @throws Exception
Expand Down Expand Up @@ -458,8 +458,8 @@ protected function after()
*
* @return void
* @throws Exception
* @since Kunena
* @throws null
* @since Kunena
*/
protected function prepareDocument()
{
Expand Down Expand Up @@ -598,7 +598,7 @@ protected function prepareDocument()
{
$params = $menu_item->params;
$params_keywords = $params->get('menu-meta_keywords');
$subject = KunenaHtmlParser::parseText($this->topic->displayField('subject'));
$subject = $this->topic->subject . $headerText;

$this->setTitle($subject);

Expand Down Expand Up @@ -642,8 +642,8 @@ protected function prepareDocument()
* Prepare document.
*
* @throws Exception
* @since Kunena
* @throws null
* @since Kunena
*/
protected function docImage()
{
Expand Down

0 comments on commit e62c8d1

Please sign in to comment.