Fix PHP warnings and notices

This commit is contained in:
2023-02-18 08:34:32 +01:00
parent be9610cd98
commit a4ecd1bff7
4 changed files with 7 additions and 4 deletions

View File

@@ -26,6 +26,7 @@ $smarty = new Smarty();
$smarty->template_dir = 'tpl';
$smarty->compile_dir = 'tpl_c';
$smarty->registerPlugin('function', 'treelist', 'print_tree');
$smarty->assign("suser_tooltips", $_SESSION['suser_tooltips']);
$smarty->assign("suser_tooltips", $_SESSION['suser_tooltips'] ?? 'off');
?>