mirror of
https://github.com/Piwigo/Piwigo.git
synced 2026-07-06 01:42:29 +02:00
PHP 7.4 fixes
This commit is contained in:
committed by
Pierrick Le Gall
parent
8a5a2d9831
commit
f9edbd34f7
@@ -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];
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user