Fix PHP warnings and notices
This commit is contained in:
@@ -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 {
|
||||
|
||||
Reference in New Issue
Block a user