diff --git a/upload/source/function/function_post.php b/upload/source/function/function_post.php index 98fcb971f548feedf8ee6e170bb5e4ed783c1454..f8241235f2a1ba7ea8a62a73e416c76aff18e8eb 100644 --- a/upload/source/function/function_post.php +++ b/upload/source/function/function_post.php @@ -468,7 +468,7 @@ function updateforumcount($fid) { $thread['subject'] = addslashes($thread['subject']); $thread['lastposter'] = $thread['author'] ? addslashes($thread['lastposter']) : lang('forum/misc', 'anonymous'); $tid = $thread['closed'] > 1 ? $thread['closed'] : $thread['tid']; - $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']}"); C::t('forum_forum')->update($fid, $setarr); }