mirror of
https://github.com/Lastorder-DC/rhymix.git
synced 2026-01-09 03:32:00 +09:00
getModulePartConfig() 에서 ArrayObject 으로 인해 객체 속성을 배열로 사용할 수 없었던 문제수정
문제점 예) https://www.xetown.com/contact/733548
This commit is contained in:
parent
8e1cb8b3a9
commit
345b3bb184
1 changed files with 6 additions and 0 deletions
|
|
@ -1451,6 +1451,12 @@ class moduleModel extends module
|
|||
$config = new ArrayObject;
|
||||
}
|
||||
|
||||
// For access to array as properties
|
||||
if($config instanceof ArrayObject)
|
||||
{
|
||||
$config->setFlags(ArrayObject::ARRAY_AS_PROPS);
|
||||
}
|
||||
|
||||
// Set cache
|
||||
Rhymix\Framework\Cache::set('site_and_module:module_part_config:' . $module . '_' . $module_srl, $config, 0, true);
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue