Please check around line 274. It should be like this:
PHP Code:
// update forum
$DB_site->query("UPDATE forum SET
replycount=replycount+1,lastpost='".$date."',".
"lastposter='".addslashes(from_name($message[from]))."',".
"lastthreadid=" . $threadid . " , " .
"lastthread='".addslashes($message[subject])."' WHERE ".
"forumid IN ($foruminfo[parentlist])");
and around line 364:
PHP Code:
// update the forum counts
$DB_site->query("UPDATE forum SET
replycount=replycount+1,threadcount=threadcount+1,".
"lastpost='".$date."',lastposter='".addslashes(from_name($message[from]))."',".
"lastthread='".addslashes($message[subject])."', " .
"lastthreadid= " . $threadid .
" WHERE forumid IN ($foruminfo[parentlist])");
I just checked, I did upload the right one. I am wondering if your proxy server could give you an older version.
The lastthreadid is used for the front page link. Please check your database to see if that is updated each time a post is imported.