Fix undefined variables and properties

This commit is contained in:
Kijin Sung 2024-01-04 14:45:49 +09:00
parent 94e2d8e11a
commit 010ba87c5b
4 changed files with 7 additions and 3 deletions

View file

@ -941,6 +941,7 @@ class LayoutAdminController extends Layout
$oModel = getModel('layout');
$layoutInfo = $oModel->getLayout($layoutSrl);
$newLayoutInfo = new stdClass;
if($layoutInfo->extra_var_count)
{
foreach($layoutInfo->extra_var as $varId => $val)