Fix layout cache not being refreshed when info.xml is edited

This commit is contained in:
Kijin Sung 2021-01-12 10:44:19 +09:00
parent 7e0e6bc25f
commit b837e3e69e
3 changed files with 5 additions and 4 deletions

View file

@ -232,7 +232,7 @@ class layoutAdminView extends layout
$layout_srl = Context::get('layout_srl');
// Get layout information
$oLayoutModel = getModel('layout');
$layout_info = $oLayoutModel->getLayout($layout_srl);
$layout_info = $oLayoutModel->getLayout($layout_srl, false);
// Error appears if there is no layout information is registered
if(!$layout_info) return $this->dispLayoutAdminInstalledList();