diff --git a/www/admin/class_test.smarty.php b/www/admin/class_test.smarty.php
index 718bf3d5..72996954 100644
--- a/www/admin/class_test.smarty.php
+++ b/www/admin/class_test.smarty.php
@@ -47,6 +47,7 @@ $adm = new CoreLibs\Admin\Backend(
);
$adm->DATA['adm_set'] = 'SET from admin class';
+
$PAGE_NAME = 'TEST CLASS: SMARTY';
print "";
print "
" . $PAGE_NAME . "";
diff --git a/www/composer.json b/www/composer.json
index 74c42f31..8fe948fd 100644
--- a/www/composer.json
+++ b/www/composer.json
@@ -21,7 +21,7 @@
}
},
"require": {
- "egrajp/smarty-extended": "^4.3",
+ "egrajp/smarty-extended": "^5.4",
"php": ">=8.1",
"gullevek/dotenv": "^2.0",
"psr/log": "^2.0 || ^3.0"
diff --git a/www/lib/CoreLibs/Template/SmartyExtend.php b/www/lib/CoreLibs/Template/SmartyExtend.php
index e9b906d6..5b5bfd5d 100644
--- a/www/lib/CoreLibs/Template/SmartyExtend.php
+++ b/www/lib/CoreLibs/Template/SmartyExtend.php
@@ -20,7 +20,7 @@ declare(strict_types=1);
namespace CoreLibs\Template;
// leading slash if this is in lib\Smarty
-class SmartyExtend extends \Smarty
+class SmartyExtend extends \Smarty\Smarty
{
// internal translation engine
/** @var \CoreLibs\Language\L10n */