diff --git a/code/model/BlogPost.php b/code/model/BlogPost.php index c9acdb6..dd699d7 100644 --- a/code/model/BlogPost.php +++ b/code/model/BlogPost.php @@ -123,7 +123,7 @@ class BlogPost extends Page { null, 1024 )->setDescription('Comma separated list of names'); - if(!$this->canEditAuthors()) { + if(!$self->canEditAuthors()) { $authorField = $authorField->performDisabledTransformation(); $authorNames = $authorNames->performDisabledTransformation(); }