mirror of
https://github.com/Lastorder-DC/rhymix.git
synced 2026-01-05 17:51:40 +09:00
Fix warning in content widget if tab_type is null
This commit is contained in:
parent
6184797b22
commit
3a322cdfce
1 changed files with 1 additions and 1 deletions
|
|
@ -711,7 +711,7 @@ class content extends WidgetHandler
|
||||||
|
|
||||||
$widget_info->markup_type = $args->markup_type;
|
$widget_info->markup_type = $args->markup_type;
|
||||||
// If it is a tab type, list up tab items and change key value(module_srl) to index
|
// If it is a tab type, list up tab items and change key value(module_srl) to index
|
||||||
if($args->tab_type != 'none' && $args->tab_type)
|
if (!empty($args->tab_type) && $args->tab_type != 'none')
|
||||||
{
|
{
|
||||||
$tab = array();
|
$tab = array();
|
||||||
foreach($args->mid_lists as $module_srl => $mid)
|
foreach($args->mid_lists as $module_srl => $mid)
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue