Issue #2819219 by BR0kEN: SystemMainBlock could lead to fatal error in case if "setMainContent" method will not be called

8.3.x
Alex Pott 2016-11-06 14:50:21 +00:00
parent 41335f244c
commit 24eeeb1b81
1 changed files with 1 additions and 1 deletions

View File

@ -20,7 +20,7 @@ class SystemMainBlock extends BlockBase implements MainContentBlockPluginInterfa
*
* @var array
*/
protected $mainContent;
protected $mainContent = [];
/**
* {@inheritdoc}