Merge pull request #172 from flashbackzoo/pulls/protected-isauthor

Make BlogPost::isAuthor public
This commit is contained in:
Damian Mooyman 2015-04-02 14:53:21 +13:00
commit d58b376bf1

View File

@ -72,7 +72,7 @@ class BlogPost extends Page {
* @param Member $member * @param Member $member
* @return boolean * @return boolean
*/ */
protected function isAuthor($member) { public function isAuthor($member) {
if(!$member || !$member->exists()) return false; if(!$member || !$member->exists()) return false;
$list = $this->Authors(); $list = $this->Authors();