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

Affected version
2.1.8 PL2

TickTackk

Well-known member
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')));
        }
 

XF Bug Bot

XenForo bug fixer bot
Staff member
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.
 
Top