This commit is contained in:
tom 2016-05-23 13:02:54 +08:00
parent 030c433796
commit 2041c80c9a

View File

@ -32,7 +32,7 @@ function smarty_function_list_categories($params) //, &$smarty)
$cats = trim(io_load_file(CONTENT_DIR . 'categories.txt'));
$stack=array(0);
$arr=array();
$explode_result=explode("\n", $cats)
$explode_result=explode("\n", $cats);
return '<ul>'.do_print_categories_list($explode_result, $stack, $arr, $cat_params).'</ul>';
} else {
global $lang;