Fix PHP warnings and notices
This commit is contained in:
3
lib.php
3
lib.php
@@ -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');
|
||||
|
||||
?>
|
||||
|
||||
Reference in New Issue
Block a user