mirror of
https://github.com/Lastorder-DC/rhymix.git
synced 2026-04-02 01:52:10 +09:00
Fix #654 don't display send message link if not permitted for current user
This commit is contained in:
parent
cd96da156c
commit
c900f49d72
2 changed files with 8 additions and 0 deletions
|
|
@ -835,6 +835,10 @@ class communicationController extends communication
|
|||
{
|
||||
return new Object();
|
||||
}
|
||||
if(!$oCommunicationModel->checkGrant($config->grant_send))
|
||||
{
|
||||
return new Object();
|
||||
}
|
||||
|
||||
$mid = Context::get('cur_mid');
|
||||
$member_srl = Context::get('target_srl');
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue