mirror of
https://github.com/openvk/openvk
synced 2025-03-14 21:45:22 +03:00
Pon
This commit is contained in:
parent
cb8dd4d12d
commit
c3ac279a25
1 changed files with 2 additions and 2 deletions
|
@ -415,7 +415,7 @@ final class GroupPresenter extends OpenVKPresenter
|
|||
$this->assertUserLoggedIn();
|
||||
|
||||
$club = $this->clubs->get($id);
|
||||
if(!$club || method_exists($club, "isDeleted") && $club->isDeleted())
|
||||
if(!$club)
|
||||
$this->notFound();
|
||||
else
|
||||
$this->template->club = $club;
|
||||
|
@ -447,7 +447,7 @@ final class GroupPresenter extends OpenVKPresenter
|
|||
$this->assertUserLoggedIn();
|
||||
|
||||
$club = $this->clubs->get($id);
|
||||
if(!$club || method_exists($club, "isDeleted") && $club->isDeleted())
|
||||
if(!$club)
|
||||
$this->notFound();
|
||||
else
|
||||
$this->template->club = $club;
|
||||
|
|
Loading…
Reference in a new issue