mirror of
https://github.com/Lastorder-DC/rhymix.git
synced 2026-05-02 08:42:15 +09:00
Fix #1628 error in PHP 8.0 in editor component setup screen
This commit is contained in:
parent
82398be24a
commit
9412cc4a22
3 changed files with 8 additions and 8 deletions
|
|
@ -128,7 +128,10 @@ class editorAdminView extends editor
|
|||
if(!is_array($mid_list)) $mid_list = array($mid_list);
|
||||
foreach($mid_list as $module_srl => $module)
|
||||
{
|
||||
if($module) $module_categories[$module->module_category_srl]->list[$module_srl] = $module;
|
||||
if($module && isset($module_categories[$module->module_category_srl]))
|
||||
{
|
||||
$module_categories[$module->module_category_srl]->list[$module_srl] = $module;
|
||||
}
|
||||
}
|
||||
}
|
||||
else
|
||||
|
|
|
|||
|
|
@ -32,7 +32,7 @@
|
|||
<a href="#" onclick="winopen('{$component->link}');return false;">{$component->link}</a>
|
||||
</div>
|
||||
</div>
|
||||
<block cond="count($component->extra_vars)">
|
||||
<block cond="$component->extra_vars">
|
||||
<block loop="$component->extra_vars => $id, $var">
|
||||
<block cond="$group != $var->group">
|
||||
<h2>{$var->group}</h2>
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue