Quote:
Originally Posted by bkaul
Attachment 63669
The link is to showthread.php?p=0#post0 rather than the actual post number, when the post is one that is generated by the gateway. Any ideas on what modifications would be necessary to fix this bug?
|
I also had this problem until I changed the code in includes/functions_nntp.php
Somewhere around line 591 there should be something like this:
PHP Code:
//So that thread preview works
$db->query("
UPDATE " . TABLE_PREFIX . "thread
SET firstpostid = $postid
WHERE threadid = $threadid
");
... was changed to ...
PHP Code:
//So that thread preview works
$db->query("
UPDATE " . TABLE_PREFIX . "thread
SET firstpostid = $postid,
lastpostid = $postid
WHERE threadid = $threadid
");
After this I didn't have any trouble with it... I'm not sure it's a correct way to fix it, but it at least removes the zero.