mirror of
https://github.com/silverstripe/silverstripe-blog
synced 2024-10-22 11:05:58 +02:00
Make BlogPost::isAuthor public
This commit is contained in:
parent
4e1b4afb6c
commit
99b03b555c
@ -72,7 +72,7 @@ class BlogPost extends Page {
|
||||
* @param Member $member
|
||||
* @return boolean
|
||||
*/
|
||||
protected function isAuthor($member) {
|
||||
public function isAuthor($member) {
|
||||
if(!$member || !$member->exists()) return false;
|
||||
|
||||
$list = $this->Authors();
|
||||
|
Loading…
Reference in New Issue
Block a user