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

@@ -141,7 +141,8 @@ function print_tree_rec($tree, $level) {
return $output;
}
function print_tree($params, &$smarty) {
//function print_tree($params, &$smarty) {
function print_tree($params, Smarty_Internal_Template $template) {
if (empty($params['level'])) {
$level = 0;
} else {