mirror of
https://github.com/Lastorder-DC/rhymix.git
synced 2026-01-07 10:41:40 +09:00
Fix disappearing message & friend menu
This commit is contained in:
parent
a33b961c62
commit
e9ca45eac7
1 changed files with 5 additions and 5 deletions
|
|
@ -808,11 +808,6 @@ class communicationController extends communication
|
||||||
{
|
{
|
||||||
return new Object();
|
return new Object();
|
||||||
}
|
}
|
||||||
if (starts_with('dispCommunication', Context::get('act')))
|
|
||||||
{
|
|
||||||
return new Object();
|
|
||||||
}
|
|
||||||
|
|
||||||
$logged_info = Context::get('logged_info');
|
$logged_info = Context::get('logged_info');
|
||||||
$oCommunicationModel = getModel('communication');
|
$oCommunicationModel = getModel('communication');
|
||||||
$config = $oCommunicationModel->getConfig();
|
$config = $oCommunicationModel->getConfig();
|
||||||
|
|
@ -837,6 +832,11 @@ class communicationController extends communication
|
||||||
$oMemberController->addMemberMenu('dispCommunicationFriend', 'cmd_view_friend');
|
$oMemberController->addMemberMenu('dispCommunicationFriend', 'cmd_view_friend');
|
||||||
}
|
}
|
||||||
|
|
||||||
|
if (starts_with('dispCommunication', Context::get('act')))
|
||||||
|
{
|
||||||
|
return new Object();
|
||||||
|
}
|
||||||
|
|
||||||
if($config->enable_message == 'Y' && $obj->act != 'dispCommunicationNewMessage')
|
if($config->enable_message == 'Y' && $obj->act != 'dispCommunicationNewMessage')
|
||||||
{
|
{
|
||||||
$flag_path = './files/member_extra_info/new_message_flags/' . getNumberingPath($logged_info->member_srl);
|
$flag_path = './files/member_extra_info/new_message_flags/' . getNumberingPath($logged_info->member_srl);
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue