From e9ca45eac789264c40b7a831ca10c5b182819578 Mon Sep 17 00:00:00 2001 From: Kijin Sung Date: Wed, 16 Mar 2016 19:10:53 +0900 Subject: [PATCH] Fix disappearing message & friend menu --- modules/communication/communication.controller.php | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/modules/communication/communication.controller.php b/modules/communication/communication.controller.php index 74392742d..a287e8657 100644 --- a/modules/communication/communication.controller.php +++ b/modules/communication/communication.controller.php @@ -808,11 +808,6 @@ class communicationController extends communication { return new Object(); } - if (starts_with('dispCommunication', Context::get('act'))) - { - return new Object(); - } - $logged_info = Context::get('logged_info'); $oCommunicationModel = getModel('communication'); $config = $oCommunicationModel->getConfig(); @@ -837,6 +832,11 @@ class communicationController extends communication $oMemberController->addMemberMenu('dispCommunicationFriend', 'cmd_view_friend'); } + if (starts_with('dispCommunication', Context::get('act'))) + { + return new Object(); + } + if($config->enable_message == 'Y' && $obj->act != 'dispCommunicationNewMessage') { $flag_path = './files/member_extra_info/new_message_flags/' . getNumberingPath($logged_info->member_srl);