Fix undefined module configuration name

This commit is contained in:
Kijin Sung 2023-11-08 23:40:37 +09:00
parent 80eb973615
commit 5e914791e2

View file

@ -671,7 +671,7 @@ class BoardView extends Board
$selectedColumnList = array_keys($this->listConfig);
// Return all columns for some legacy skins
if($this->module_info->skin == 'xe_guestbook' || $this->module_info->default_style == 'blog')
if($this->module_info->skin == 'xe_guestbook' || ($this->module_info->default_style ?? '') == 'blog')
{
$this->columnList = $allColumnList;
}