diff --git a/code/model/BlogPost.php b/code/model/BlogPost.php index 7e6ac15..c29051f 100644 --- a/code/model/BlogPost.php +++ b/code/model/BlogPost.php @@ -473,6 +473,12 @@ class BlogPost extends Page return false; } + $extended = $this->extendedCan('canView', $member); + + if ($extended !== null) { + return $extended; + } + return !$publishDate->InFuture(); }