쪽지 발송 권한 설정 다듬기

This commit is contained in:
conory 2016-03-05 14:18:50 +09:00
parent b8b0e8978a
commit 5d3389a6ff
4 changed files with 50 additions and 74 deletions

View file

@ -89,7 +89,7 @@ class communicationController extends communication
$oCommunicationModel = getModel('communication');
$config = $oCommunicationModel->getConfig();
if(!$oCommunicationModel->checkWriteGrant($config->grant_write))
if(!$oCommunicationModel->checkGrant($config->grant_send))
{
return new Object(-1, 'msg_not_permitted');
}