mirror of
https://github.com/openvk/openvk
synced 2024-12-22 08:31:18 +03:00
fix(profiles): fix #1186
This commit is contained in:
parent
ba5e2dba3c
commit
4541ce1afe
1 changed files with 1 additions and 1 deletions
|
@ -35,7 +35,7 @@ final class UserPresenter extends OpenVKPresenter
|
|||
$this->template->_template = "User/deactivated.xml";
|
||||
|
||||
$this->template->user = $user;
|
||||
} else if($this->user->identity->isBlacklistedBy($user)) {
|
||||
} else if($this->user->identity && $this->user->identity->isBlacklistedBy($user)) {
|
||||
$this->template->_template = "User/blacklisted.xml";
|
||||
|
||||
$this->template->blacklist_status = $user->isBlacklistedBy($this->user->identity);
|
||||
|
|
Loading…
Reference in a new issue