function_post.php中一个写法的问题
2025/12/25 14:48:11
https://gitee.com/Discuz/DiscuzX/blob/v3.5/upload/source/function/function_post.php
function updateforumcount($fid) 中
$setarr = array('posts' => $posts, 'threads' => $threads, 'lastpost' => "$tid\t{$thread['subject']}\t{$thread['lastpost']}\t${thread['lastposter']}");
改成下面这样更好
$setarr = array('posts' => $posts, 'threads' => $threads, 'lastpost' => "$tid\t{$thread['subject']}\t{$thread['lastpost']}\t{$thread['lastposter']}");我知道答案 回答被采纳将会获得1 贡献 已有0人回答
function updateforumcount($fid) 中
$setarr = array('posts' => $posts, 'threads' => $threads, 'lastpost' => "$tid\t{$thread['subject']}\t{$thread['lastpost']}\t${thread['lastposter']}");
改成下面这样更好
$setarr = array('posts' => $posts, 'threads' => $threads, 'lastpost' => "$tid\t{$thread['subject']}\t{$thread['lastpost']}\t{$thread['lastposter']}");我知道答案 回答被采纳将会获得1 贡献 已有0人回答