diff --git a/modules/communication/communication.mobile.php b/modules/communication/communication.mobile.php index 19eadceac..cf084b358 100644 --- a/modules/communication/communication.mobile.php +++ b/modules/communication/communication.mobile.php @@ -13,19 +13,19 @@ class communicationMobile extends communicationView { $oCommunicationModel = getModel('communication'); - $this->communication_config = $oCommunicationModel->getConfig(); - $skin = $this->communication_config->mskin; + $this->config = $oCommunicationModel->getConfig(); + $skin = $this->config->mskin; - Context::set('communication_config', $this->communication_config); + Context::set('communication_config', $this->config); $tpl_path = sprintf('%sm.skins/%s', $this->module_path, $skin); $this->setTemplatePath($tpl_path); $oLayoutModel = getModel('layout'); - $layout_info = $oLayoutModel->getLayout($this->communication_config->mlayout_srl); + $layout_info = $oLayoutModel->getLayout($this->config->mlayout_srl); if($layout_info) { - $this->module_info->mlayout_srl = $this->communication_config->mlayout_srl; + $this->module_info->mlayout_srl = $this->config->mlayout_srl; $this->setLayoutPath($layout_info->path); } }