mirror of
https://github.com/Lastorder-DC/rhymix.git
synced 2026-04-02 01:52:10 +09:00
Fix #1470 misc errors in PHP 8.0
This commit is contained in:
parent
cc1a00e923
commit
7d8a546b64
3 changed files with 6 additions and 10 deletions
|
|
@ -128,7 +128,7 @@ class menuAdminController extends menu
|
|||
{
|
||||
// 'unlinked' menu 존재여부 확인
|
||||
$oModuleModel = getModel('module');
|
||||
$moduleConfig = $oModuleModel->getModuleConfig('menu');
|
||||
$moduleConfig = $oModuleModel->getModuleConfig('menu') ?: new stdClass;
|
||||
|
||||
if($moduleConfig->unlinked_menu_srl)
|
||||
{
|
||||
|
|
@ -1745,7 +1745,7 @@ class menuAdminController extends menu
|
|||
}
|
||||
}
|
||||
|
||||
if(count($grant))
|
||||
if(countobj($grant))
|
||||
{
|
||||
$oModuleController = getController('module');
|
||||
$oModuleController->insertModuleGrants($moduleInfo->module_srl, $grant);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue