mirror of
https://github.com/Lastorder-DC/rhymix.git
synced 2026-01-06 18:21:39 +09:00
Fix warning in PHP 8.0
This commit is contained in:
parent
375a71866d
commit
faea821e78
9 changed files with 103 additions and 131 deletions
|
|
@ -45,16 +45,8 @@ class communicationAdminModel extends communication
|
|||
$oModuleModel = getModel('module');
|
||||
$skin_info = $oModuleModel->loadSkinInfo($this->module_path, $skin, $dir);
|
||||
Context::set('skin_info', $skin_info);
|
||||
|
||||
$oModuleModel = getModel('module');
|
||||
$communication_config = $oModuleModel->getModuleConfig('communication');
|
||||
if(!is_object($communication_config)) $communication_config = new stdClass;
|
||||
if(!$communication_config->colorset)
|
||||
{
|
||||
$communication_config->colorset = "white";
|
||||
}
|
||||
Context::set('communication_config', $communication_config);
|
||||
|
||||
Context::set('communication_config', CommunicationModel::getConfig());
|
||||
|
||||
$security = new Security();
|
||||
$security->encodeHTML('skin_info.colorset..title', 'skin_info.colorset..name');
|
||||
$security->encodeHTML('skin_info.colorset..name');
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue