mirror of
https://github.com/Lastorder-DC/rhymix.git
synced 2026-01-03 08:41:39 +09:00
Fix deprecation warning when header script is empty
This commit is contained in:
parent
dbd92c191c
commit
ed15587c4f
1 changed files with 1 additions and 1 deletions
|
|
@ -783,7 +783,7 @@ class LayoutModel extends Layout
|
|||
// header_script
|
||||
$oModuleModel = getModel('module');
|
||||
$layout_config = $oModuleModel->getModulePartConfig('layout', $layout_srl);
|
||||
$header_script = trim($layout_config->header_script);
|
||||
$header_script = trim($layout_config->header_script ?? '');
|
||||
|
||||
if(!empty($header_script))
|
||||
{
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue