Issue #2819219 by BR0kEN: SystemMainBlock could lead to fatal error in case if "setMainContent" method will not be called
parent
41335f244c
commit
24eeeb1b81
|
@ -20,7 +20,7 @@ class SystemMainBlock extends BlockBase implements MainContentBlockPluginInterfa
|
|||
*
|
||||
* @var array
|
||||
*/
|
||||
protected $mainContent;
|
||||
protected $mainContent = [];
|
||||
|
||||
/**
|
||||
* {@inheritdoc}
|
||||
|
|
Loading…
Reference in New Issue