Fixed attempt to read private field in user view

This commit is contained in:
Marcin Kurczewski 2014-05-18 22:29:30 +02:00
parent 118cf31ab1
commit 00590e69ef

View file

@ -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 []=
[