XFA
Well-known member
- Affected version
- 2.1.3
In _postDelete of the entity, you are doing:
It shouldn't be BannedBy but User here.
Clément
PHP:
/** @var \XF\Repository\UserAlert $alertRepo */
$alertRepo = $this->repository('XF:UserAlert');
$alertRepo->fastDeleteAlertsFromUser($this->BannedBy, 'thread', $this->thread_id, 'reply_ban');
It shouldn't be BannedBy but User here.
Clément