mirror of
https://github.com/Lastorder-DC/rhymix.git
synced 2026-01-07 18:51:41 +09:00
Issue 954 block message list of member, when there is disabled coummunication addon
git-svn-id: http://xe-core.googlecode.com/svn/branches/1.5.0@10183 201d5d3c-b55e-5fd7-737f-ddc643e51545
This commit is contained in:
parent
19b655793e
commit
158c0ddd08
1 changed files with 5 additions and 0 deletions
|
|
@ -34,6 +34,11 @@
|
|||
// Error appears if not logged-in
|
||||
if(!Context::get('is_logged')) return $this->stop('msg_not_logged');
|
||||
$logged_info = Context::get('logged_info');
|
||||
if(!array_key_exists('dispCommunicationMessages', $logged_info->menu_list))
|
||||
{
|
||||
return $this->stop('msg_invalid_request');
|
||||
}
|
||||
|
||||
// Set the variables
|
||||
$message_srl = Context::get('message_srl');
|
||||
$message_type = Context::get('message_type');
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue