mirror of
https://github.com/Lastorder-DC/rhymix.git
synced 2026-04-12 06:52:12 +09:00
Improve caching efficiency of document extra keys and module extra vars
This commit is contained in:
parent
a949b95763
commit
7beaff8241
2 changed files with 2 additions and 1 deletions
|
|
@ -373,7 +373,7 @@ class documentModel extends document
|
|||
$keys = Rhymix\Framework\Cache::get("site_and_module:module_document_extra_keys:$module_srl");
|
||||
$oExtraVar = ExtraVar::getInstance($module_srl);
|
||||
|
||||
if(!$keys)
|
||||
if($keys === null)
|
||||
{
|
||||
$obj = new stdClass();
|
||||
$obj->module_srl = $module_srl;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue