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();