mirror of
https://github.com/silverstripe/silverstripe-blog
synced 2024-10-22 11:05:58 +02:00
BUG Fix php 5.3 compatibility
This commit is contained in:
parent
61f996461c
commit
e024fcb97a
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user