diff --git a/src/Views/user/user-view.phtml b/src/Views/user/user-view.phtml index b62bc8a9..c0b73f97 100644 --- a/src/Views/user/user-view.phtml +++ b/src/Views/user/user-view.phtml @@ -147,7 +147,7 @@ $this->assets->addStylesheet('user-view.css'); Privilege::BanUser, Access::getIdentity($this->context->transport->user)))) { - if (!$this->context->transport->user->banned) + if (!$this->context->transport->user->isBanned()) { $options []= [