mirror of
https://github.com/Lastorder-DC/rhymix.git
synced 2026-01-09 03:32:00 +09:00
PHP 5.4 reduce error of Create default object.
This commit is contained in:
parent
38b3fd2ce5
commit
eec20ea827
8 changed files with 22 additions and 4 deletions
|
|
@ -48,6 +48,7 @@ class communicationAdminModel extends communication
|
|||
|
||||
$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";
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue