XF / News When report is created as a thread, only the content title is available for the thread title phrase

Status
Not open for further replies.

Bots

Registered
Joined
May 3, 2024
Messages
3,593
Reaction score
1
In XF\Service\Report\Creator Changing
PHP:

Code:
            $title = \XF::phrase('reported_thread_title', ['title' => $handler->getContentTitle($report)])->render('raw');
            $messageContent = \XF::phrase('reported_thread_message', $params)->render('raw');
to
PHP:

Code:
            $title = \XF::phrase('reported_thread_title', $params)->render('raw');
            $messageContent = \XF::phrase('reported_thread_message', $params)->render('raw');
will explore the...

Read more

Continue reading...
 
Status
Not open for further replies.
Top