mirror of
https://github.com/Lastorder-DC/rhymix.git
synced 2026-01-04 01:01:41 +09:00
Fix undefined variable $layout_info in widget skin
This commit is contained in:
parent
c643e80447
commit
cafddbfc67
1 changed files with 2 additions and 2 deletions
|
|
@ -1,6 +1,6 @@
|
||||||
<load target="./js/content_widget.js" cond="$widget_info->page_count || (is_countable($widget_info->tab) && count($widget_info->tab))" />
|
<load target="./js/content_widget.js" cond="$widget_info->page_count || (is_countable($widget_info->tab) && count($widget_info->tab))" />
|
||||||
<!--// Check layout. If it is Simple World, select layout primary colors as a primary color of this skin -->
|
<!--// Check layout. If it is Simple World, select layout primary colors as a primary color of this skin -->
|
||||||
{@$layout_info = Context::get('layout_info')}
|
{@$layout_info = Context::get('layout_info') ?? new stdClass();}
|
||||||
<block cond="$layout_info->extra_var->primary_color->type === 'select' || $layout_info->extra_var->customized_primary_color->type === 'colorpicker'">
|
<block cond="$layout_info->extra_var->primary_color->type === 'select' || $layout_info->extra_var->customized_primary_color->type === 'colorpicker'">
|
||||||
{@
|
{@
|
||||||
if(!$layout_info->primary_color)
|
if(!$layout_info->primary_color)
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue