getModulePartConfig() 에서 ArrayObject 으로 인해 객체 속성을 배열로 사용할 수 없었던 문제수정

문제점 예) https://www.xetown.com/contact/733548
This commit is contained in:
conory 2017-09-15 15:05:21 +09:00
parent 8e1cb8b3a9
commit 345b3bb184

View file

@ -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);
}