diff --git a/code/BlogHolder.php b/code/BlogHolder.php index e766729..ce31665 100644 --- a/code/BlogHolder.php +++ b/code/BlogHolder.php @@ -77,7 +77,7 @@ class BlogHolder extends BlogTree { * @return Boolean */ function IsOwner() { - return Permission::check('ADMIN') || (Member::CurrentMember() && Member::CurrentMember()->ID == $this->OwnerID); + return Permission::check('ADMIN') || (Member::currentUserID() == $this->OwnerID); } /**