(cp f9edbd3) PHP 7.4 fixes

This commit is contained in:
plegall
2020-03-25 14:57:36 +01:00
parent 6104b0ef41
commit 5f2bed13b6
2 changed files with 6 additions and 4 deletions
@@ -47,7 +47,9 @@ class Smarty_Internal_Runtime_UpdateScope
while (isset($ptr->parent)) {
$ptr = $ptr->parent;
}
$ptr->tpl_vars[$varName] = $tpl->tpl_vars[$varName];
if ($ptr) {
$ptr->tpl_vars[$varName] = $tpl->tpl_vars[$varName];
}
}
}
}