Fix #2387 fatal error when loading old layout cache file

This commit is contained in:
Kijin Sung 2024-07-29 23:24:06 +09:00
parent 5f662530e0
commit bb9239d12c

View file

@ -539,6 +539,7 @@ class LayoutModel extends Layout
if(file_exists($cache_file) && filemtime($cache_file) > filemtime($xml_file))
{
$layout_info = new stdClass;
include($cache_file);
if($layout_info->extra_var && $vars)