1
0
mirror of https://github.com/postfixadmin/postfixadmin.git synced 2025-08-07 17:42:53 +03:00

update Smarty to v3.1.33 - "This release does cover security issue CVE-2018-16831, other bug fixes (see changelog.txt) and adds a new feature of the {capture} tag (see NEW_FEATURES.txt)."

This commit is contained in:
David Goodwin
2019-09-25 13:55:07 +01:00
parent 7360407b73
commit 907bd7ee46
199 changed files with 5335 additions and 4857 deletions

View File

@@ -21,10 +21,10 @@ class Smarty_Internal_Method_GetGlobal
/**
* Returns a single or all global variables
*
* @api Smarty::getGlobal()
* @api Smarty::getGlobal()
*
* @param \Smarty_Internal_Data $data
* @param string $varName variable name or null
* @param string $varName variable name or null
*
* @return string|array variable value or or array of variables
*/
@@ -38,10 +38,10 @@ class Smarty_Internal_Method_GetGlobal
}
} else {
$_result = array();
foreach (Smarty::$global_tpl_vars AS $key => $var) {
foreach (Smarty::$global_tpl_vars as $key => $var) {
$_result[ $key ] = $var->value;
}
return $_result;
}
}
}
}