Fix warnings in PHP 8 #2150 @eondcom

This commit is contained in:
Kijin Sung 2023-07-17 20:55:58 +09:00
parent 13ef40c772
commit bb495f0259
2 changed files with 4 additions and 5 deletions

View file

@ -23,7 +23,7 @@ class Message extends ModuleObject
$oModuleModel = getModel('module');
$config = $oModuleModel->getModuleConfig('message');
if($config->skin)
if(!empty($config->skin))
{
$config_parse = explode('.', $config->skin);
if (count($config_parse) > 1)