Fixed attempt to read private field in user view
This commit is contained in:
parent
118cf31ab1
commit
00590e69ef
1 changed files with 1 additions and 1 deletions
|
@ -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 []=
|
||||
[
|
||||
|
|
Loading…
Reference in a new issue