Compare commits

..

2 commits

Author SHA1 Message Date
Slava Petrov
3f4150b64a
Merge a870e60571 into 4541ce1afe 2024-12-14 19:40:21 +07:00
mrilyew
4541ce1afe fix(profiles): fix #1186 2024-12-14 15:19:09 +03:00

View file

@ -35,7 +35,7 @@ final class UserPresenter extends OpenVKPresenter
$this->template->_template = "User/deactivated.xml"; $this->template->_template = "User/deactivated.xml";
$this->template->user = $user; $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->_template = "User/blacklisted.xml";
$this->template->blacklist_status = $user->isBlacklistedBy($this->user->identity); $this->template->blacklist_status = $user->isBlacklistedBy($this->user->identity);