Commit c4809d98 authored by Ben Hayward's avatar Ben Hayward

Added $this

1 merge request!328WIP: [Sprint/NuancedNumbat](fix): Ban email now returning string of ban reason rather than index.
Pipeline #87716858 running with stages
......@@ -30,7 +30,7 @@ class Events
->setBody('banned.tpl')
->set('username', $user->username)
->set('email', $user->getEmail())
->set('reason', getBanReasons($user->ban_reason))
->set('reason', $this->getBanReasons($user->ban_reason))
->set('user', $user);
$message = new Core\Email\Message();
$message->setTo($user)
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment