шаблонизатор Smarty обновлен до версии 5.7.0

This commit is contained in:
2026-02-05 13:20:01 +05:00
parent 9a82e25e0a
commit 36becd8975
2 changed files with 2 additions and 2 deletions

View File

@@ -54,7 +54,7 @@ class Smarty extends \Smarty\TemplateBase {
/**
* smarty version
*/
const SMARTY_VERSION = '5.6.0';
const SMARTY_VERSION = '5.7.0';
/**
* define caching modes

View File

@@ -104,7 +104,7 @@ abstract class TemplateBase extends Data {
}
// register the object
$smarty->registered_objects[$object_name] =
[$object, (array)$allowed_methods_properties, (boolean)$format, (array)$block_methods];
[$object, (array)$allowed_methods_properties, (bool)$format, (array)$block_methods];
return $this;
}