TickTackk
Well-known member
- Affected version
- 2.1
In
Should be:
XF\Pub\Controller\Account
PHP:
if ($ignored = $visitor->Profile->ignored)
{
$ignoringUsers = $this->finder('XF:User')
->where('user_id', array_keys($ignored))
->order('username')
->fetch();
}
else
{
$ignoringUsers = [];
}
Should be:
PHP:
if ($ignored = $visitor->Profile->ignored)
{
$ignoringUsers = $this->finder('XF:User')
->where('user_id', array_keys($ignored))
->order('username')
->fetch();
}
else
{
$ignoringUsers = new ArrayCollection([]);
}