diff --git a/code/model/BlogPost.php b/code/model/BlogPost.php index afc0f3f..32b2a70 100644 --- a/code/model/BlogPost.php +++ b/code/model/BlogPost.php @@ -174,14 +174,14 @@ class BlogPost extends Page { _t('BlogPost.Categories', 'Categories'), $self->Parent()->Categories()->map(), $self->Categories()->map(), - !$this->canCreateCategories() + !$self->canCreateCategories() ), TagField::create( 'Tags', _t('BlogPost.Tags', 'Tags'), $self->Parent()->Tags()->map(), $self->Tags()->map(), - !$this->canCreateTags() + !$self->canCreateTags() ), $authorField, $authorNames