mirror of
https://github.com/Lastorder-DC/rhymix.git
synced 2026-04-24 12:52:19 +09:00
권한 기본 값이 적용되지 않는 문제 수정
This commit is contained in:
parent
7dd418d379
commit
1c3ae98431
1 changed files with 2 additions and 2 deletions
|
|
@ -2074,9 +2074,9 @@ class moduleModel extends module
|
|||
}
|
||||
|
||||
// Grant privileges by default information of module
|
||||
if(is_array($xml_info->grant))
|
||||
if(!empty($grant_list = (array) $xml_info->grant))
|
||||
{
|
||||
foreach($xml_info->grant as $name => $item)
|
||||
foreach($grant_list as $name => $item)
|
||||
{
|
||||
if(isset($checked[$name]))
|
||||
{
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue