mirror of
https://github.com/Lastorder-DC/rhymix.git
synced 2026-01-04 01:01:41 +09:00
Update ModuleHandler.class.php
Notice: Undefined property: stdClass::$menu_count 오류가 발생하는 부분을 수정합니다.
This commit is contained in:
parent
7acf26d34d
commit
28784b6540
1 changed files with 2 additions and 2 deletions
|
|
@ -1122,7 +1122,7 @@ class ModuleHandler extends Handler
|
|||
if($layout_info)
|
||||
{
|
||||
// Input extra_vars into $layout_info
|
||||
if($layout_info->extra_var_count)
|
||||
if(isset($layout_info->extra_var_count) && $layout_info->extra_var_count)
|
||||
{
|
||||
|
||||
foreach($layout_info->extra_var as $var_id => $val)
|
||||
|
|
@ -1138,7 +1138,7 @@ class ModuleHandler extends Handler
|
|||
}
|
||||
}
|
||||
// Set menus into context
|
||||
if($layout_info->menu_count)
|
||||
if(isset($layout_info->menu_count) && $layout_info->menu_count)
|
||||
{
|
||||
$oMenuAdminController = getAdminController('menu');
|
||||
$homeMenuCacheFile = null;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue