mirror of
https://github.com/Lastorder-DC/rhymix.git
synced 2026-01-04 01:01:41 +09:00
Fix errors in PHP 8.0 while copying module
This commit is contained in:
parent
a395d76d33
commit
39fa556531
2 changed files with 5 additions and 3 deletions
|
|
@ -152,6 +152,7 @@ class moduleAdminController extends module
|
||||||
|
|
||||||
if($tmpModuleSkinVars)
|
if($tmpModuleSkinVars)
|
||||||
{
|
{
|
||||||
|
$moduleSkinVars = new stdClass;
|
||||||
foreach($tmpModuleSkinVars as $key=>$value)
|
foreach($tmpModuleSkinVars as $key=>$value)
|
||||||
{
|
{
|
||||||
$moduleSkinVars->{$key} = $value->value;
|
$moduleSkinVars->{$key} = $value->value;
|
||||||
|
|
@ -160,6 +161,7 @@ class moduleAdminController extends module
|
||||||
|
|
||||||
if($tmpModuleMobileSkinVars)
|
if($tmpModuleMobileSkinVars)
|
||||||
{
|
{
|
||||||
|
$moduleMobileSkinVars = new stdClass;
|
||||||
foreach($tmpModuleMobileSkinVars as $key=>$value)
|
foreach($tmpModuleMobileSkinVars as $key=>$value)
|
||||||
{
|
{
|
||||||
$moduleMobileSkinVars->{$key} = $value->value;
|
$moduleMobileSkinVars->{$key} = $value->value;
|
||||||
|
|
@ -221,8 +223,8 @@ class moduleAdminController extends module
|
||||||
if(count($grant) > 0) $oModuleController->insertModuleGrants($module_srl, $grant);
|
if(count($grant) > 0) $oModuleController->insertModuleGrants($module_srl, $grant);
|
||||||
if($extra_vars) $oModuleController->insertModuleExtraVars($module_srl, $extra_vars);
|
if($extra_vars) $oModuleController->insertModuleExtraVars($module_srl, $extra_vars);
|
||||||
|
|
||||||
if($moduleSkinVars) $oModuleController->insertModuleSkinVars($module_srl, $moduleSkinVars);
|
if(isset($moduleSkinVars)) $oModuleController->insertModuleSkinVars($module_srl, $moduleSkinVars);
|
||||||
if($moduleMobileSkinVars) $oModuleController->insertModuleMobileSkinVars($module_srl, $moduleMobileSkinVars);
|
if(isset($moduleMobileSkinVars)) $oModuleController->insertModuleMobileSkinVars($module_srl, $moduleMobileSkinVars);
|
||||||
|
|
||||||
$triggerObj->moduleSrlList[] = $module_srl;
|
$triggerObj->moduleSrlList[] = $module_srl;
|
||||||
}
|
}
|
||||||
|
|
|
||||||
|
|
@ -921,7 +921,7 @@ class moduleController extends module
|
||||||
}
|
}
|
||||||
|
|
||||||
getDestroyXeVars($obj);
|
getDestroyXeVars($obj);
|
||||||
if(!$obj || !count($obj)) return new BaseObject();
|
if(!$obj || !countobj($obj)) return new BaseObject();
|
||||||
|
|
||||||
$args = new stdClass;
|
$args = new stdClass;
|
||||||
$args->module_srl = $module_srl;
|
$args->module_srl = $module_srl;
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue