Fixed When report is created as a thread, only the content title is available for the thread title phrase

TickTackk

Well-known member
Affected version
2.x
In 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');
to
PHP:
            $title = \XF::phrase('reported_thread_title', $params)->render('raw');
            $messageContent = \XF::phrase('reported_thread_message', $params)->render('raw');
will explore the reported_thread_title phrase to all the parameters reported_thread_message has access to.
 
Thank you for reporting this issue, it has now been resolved. We are aiming to include any changes that have been made in a future XF release (2.2.16).

Change log:
Expose additional parameters to the reported_thread_title phrase
There may be a delay before changes are rolled out to the XenForo Community.
 
Top Bottom