- Affected version
- 2.x
In
to
will explore the
XF\Service\Report\Creator
Changing
PHP:
$title = \XF::phrase('reported_thread_title', ['title' => $handler->getContentTitle($report)])->render('raw');
$messageContent = \XF::phrase('reported_thread_message', $params)->render('raw');
PHP:
$title = \XF::phrase('reported_thread_title', $params)->render('raw');
$messageContent = \XF::phrase('reported_thread_message', $params)->render('raw');
reported_thread_title
phrase to all the parameters reported_thread_message
has access to.