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
* @return boolean
*/
protected function isAuthor($member) {
public function isAuthor($member) {
if(!$member || !$member->exists()) return false;
$list = $this->Authors();