mirror of
https://github.com/Oreolek/ifhub.club.git
synced 2024-05-14 14:58:19 +03:00
Merge branch 'master' of https://github.com/livestreet/livestreet
This commit is contained in:
commit
51444b7fb6
|
@ -367,7 +367,7 @@ class ModuleACL extends Module {
|
|||
return self::CAN_DELETE_BLOG_EMPTY_ONLY;
|
||||
}
|
||||
|
||||
$oBlogUser=$this->Blog_GetBlogUserByBlogIdAndUserId($oBlog->getId(),$this->oUserCurrent->getId());
|
||||
$oBlogUser=$this->Blog_GetBlogUserByBlogIdAndUserId($oBlog->getId(),$oUser->getId());
|
||||
if($oBlogUser and $oBlogUser->getIsAdministrator()) {
|
||||
return self::CAN_DELETE_BLOG_EMPTY_ONLY;
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue