Fixed a PHP 5.3.3 in closure bug

This commit is contained in:
Christopher Pitt 2015-04-14 15:16:34 +12:00
parent 61f996461c
commit 019661ab59

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