mirror of
https://github.com/Piwigo/Piwigo.git
synced 2026-08-06 08:43:31 +02:00
Update Smarty to 3.1.3
This commit is contained in:
@@ -59,7 +59,7 @@ class Smarty_Data extends Smarty_Internal_Data
|
||||
} elseif (is_array($_parent)) {
|
||||
// set up variable values
|
||||
foreach ($_parent as $_key => $_val) {
|
||||
$this->tpl_vars[$_key] = new Smarty_Variable($_val);
|
||||
$this->tpl_vars[ $_key ] = new Smarty_Variable($_val);
|
||||
}
|
||||
} elseif ($_parent != null) {
|
||||
throw new SmartyException("Wrong type for template variables");
|
||||
|
||||
Reference in New Issue
Block a user