Fixed canIgnoreUser does not have NULL as default value for $error

TickTackk

Well-known member
Affected version
2.1
PHP:
    public function canIgnoreUser(User $user, &$error = '')
    {
compared to
PHP:
    public function canCreateThread(&$error = null)
    {
 
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.0 Beta 2).

Change log:
Set default value of null for $error on the canIgnoreUser function
There may be a delay before changes are rolled out to the XenForo Community.
 
Back
Top Bottom