From 686ea0cd04c108d7d3dff1961b6edfbfc3dcceb1 Mon Sep 17 00:00:00 2001 From: BJRambo Date: Wed, 9 Mar 2016 18:24:17 +0900 Subject: [PATCH] communication return by admin page. --- modules/communication/communication.controller.php | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/modules/communication/communication.controller.php b/modules/communication/communication.controller.php index ece930b31..562b14a35 100644 --- a/modules/communication/communication.controller.php +++ b/modules/communication/communication.controller.php @@ -809,7 +809,10 @@ class communicationController extends communication $logged_info = Context::get('logged_info'); $oCommunicationModel = getModel('communication'); $config = $oCommunicationModel->getConfig(); - + if($obj->module == 'admin') + { + return new Object(); + } if($config->enable_message == 'N' && $config->enable_friend == 'N') { return new Object();