From 00590e69efac061bac591cba29345e551ee1ba9f Mon Sep 17 00:00:00 2001 From: Marcin Kurczewski Date: Sun, 18 May 2014 22:29:30 +0200 Subject: [PATCH] Fixed attempt to read private field in user view --- src/Views/user/user-view.phtml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 []= [