Fixed Unable to report content when report reason is set to 0

TickTackk

Well-known member
Affected version
2.1.8 PL2
In file src/XF/ControllerPlugin/Report.php
PHP:
        $message = $this->request->filter('message', 'str');
        if (!$message)
        {
            throw $this->exception($this->error(\XF::phrase('please_enter_reason_for_reporting_this_message')));
        }
 
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.1.9).

Change log:
Allow the message body '0' in report comments
There may be a delay before changes are rolled out to the XenForo Community.
 
Back
Top Bottom