mirror of
https://github.com/Lastorder-DC/rhymix.git
synced 2026-01-04 17:21:39 +09:00
Also remove unnecessary tags from layout header script
This commit is contained in:
parent
be6cc58311
commit
b521c07721
1 changed files with 2 additions and 1 deletions
|
|
@ -175,7 +175,8 @@ class layoutAdminController extends layout
|
|||
$oModuleModel = getModel('module');
|
||||
$oModuleController = getController('module');
|
||||
$layout_config = new stdClass();
|
||||
$layout_config->header_script = Context::get('header_script');
|
||||
$layout_config->header_script = Context::get('header_script') ?? '';
|
||||
$layout_config->header_script = Rhymix\Modules\Admin\Models\Utility::cleanHeaderAndFooterScripts($layout_config->header_script);
|
||||
$oModuleController->insertModulePartConfig('layout',$args->layout_srl,$layout_config);
|
||||
// Save a title of the menu
|
||||
$extra_vars->menu_name_list = $menu_name_list;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue