Skip to content

Commit

Permalink
fix missing title subject on reply
Browse files Browse the repository at this point in the history
  • Loading branch information
810 committed Jul 20, 2019
1 parent 996103b commit 07b2574
Showing 1 changed file with 2 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -133,6 +133,8 @@ protected function before()

Factory::getApplication()->triggerEvent('onKunenaPrepare', array('kunena.topic', &$this->topic, &$params, 0));

$this->headerText = Text::_('COM_KUNENA_BUTTON_MESSAGE_REPLY') . ': ' . $this->topic->subject;

// Can user edit topic icons?
if ($this->config->topicicons && $this->topic->isAuthorised('edit'))
{
Expand All @@ -149,7 +151,6 @@ protected function before()
$this->app->setUserState('com_kunena.postfields', null);

$this->canSubscribe = $this->canSubscribe();
$this->headerText = Text::_('COM_KUNENA_BUTTON_MESSAGE_REPLY') . ': ' . $this->topic->subject;
}

/**
Expand Down

0 comments on commit 07b2574

Please sign in to comment.