1
0
mirror of https://github.com/postfixadmin/postfixadmin.git synced 2025-08-09 05:02:44 +03:00

update bundled smarty to v4.5.4

This commit is contained in:
David Goodwin
2024-11-19 21:49:31 +00:00
parent 5bca2464a3
commit abd4dcb401
4 changed files with 19 additions and 5 deletions

View File

@@ -658,7 +658,7 @@ abstract class Smarty_Internal_TemplateCompilerBase
if (
!$this->smarty->loadPlugin('smarty_modifiercompiler_' . $name)
&& !isset($this->smarty->registered_plugins[Smarty::PLUGIN_MODIFIER][$name])
&& !in_array($name, ['time', 'join', 'is_array', 'in_array'])
&& !in_array($name, ['time', 'join', 'is_array', 'in_array', 'count'])
) {
trigger_error('Using unregistered function "' . $name . '" in a template is deprecated and will be ' .
'removed in a future release. Use Smarty::registerPlugin to explicitly register ' .