mirror of
https://github.com/Lastorder-DC/rhymix.git
synced 2026-01-09 03:32:00 +09:00
잘못된 parameter 수정
This commit is contained in:
parent
a258a3cec8
commit
85afc04949
1 changed files with 2 additions and 2 deletions
|
|
@ -213,7 +213,7 @@ class ModuleObject extends Object
|
|||
$module_grant = $oModuleModel->getGrant($request_module, $logged_info);
|
||||
|
||||
// Check permissions
|
||||
if(!$this->checkPermission($module_grant, $xml_info))
|
||||
if(!$this->checkPermission($xml_info, $module_grant))
|
||||
{
|
||||
return;
|
||||
}
|
||||
|
|
@ -230,7 +230,7 @@ class ModuleObject extends Object
|
|||
}
|
||||
|
||||
// Check permissions
|
||||
if(!isset($checked) && !$this->checkPermission($grant, $xml_info))
|
||||
if(!isset($checked) && !$this->checkPermission($xml_info, $grant))
|
||||
{
|
||||
return;
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue