BUG Fix php 5.3 compatibility

This commit is contained in:
Damian Mooyman 2015-04-14 15:16:07 +12:00
parent 61f996461c
commit e024fcb97a

View File

@ -174,14 +174,14 @@ class BlogPost extends Page {
_t('BlogPost.Categories', 'Categories'), _t('BlogPost.Categories', 'Categories'),
$self->Parent()->Categories()->map(), $self->Parent()->Categories()->map(),
$self->Categories()->map(), $self->Categories()->map(),
!$this->canCreateCategories() !$self->canCreateCategories()
), ),
TagField::create( TagField::create(
'Tags', 'Tags',
_t('BlogPost.Tags', 'Tags'), _t('BlogPost.Tags', 'Tags'),
$self->Parent()->Tags()->map(), $self->Parent()->Tags()->map(),
$self->Tags()->map(), $self->Tags()->map(),
!$this->canCreateTags() !$self->canCreateTags()
), ),
$authorField, $authorField,
$authorNames $authorNames