Bug fix in SmartyExtend class and user name set

This commit is contained in:
Clemens Schwaighofer
2023-03-10 15:25:54 +09:00
parent e3bd2c1c3b
commit 5910b884ac
3 changed files with 8 additions and 3 deletions

View File

@@ -144,7 +144,8 @@ $smarty->setSmartyVarsAdmin(
G_TITLE,
ADMIN_STYLESHEET,
ADMIN_JAVASCRIPT,
PAGE_WIDTH
PAGE_WIDTH,
$_SESSION['USER_NAME'] ?? ''
);
// error message