권한 기본 값이 적용되지 않는 문제 수정

This commit is contained in:
conory 2017-04-14 18:20:26 +09:00
parent 7dd418d379
commit 1c3ae98431

View file

@ -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]))
{