Index: trunk/extensions/LiquidThreads/classes/Hooks.php |
— | — | @@ -58,7 +58,8 @@ |
59 | 59 | // Make sure it points to the right page. The Pager seems to use the DB |
60 | 60 | // representation of a timestamp for its offset field, odd. |
61 | 61 | $dbr = wfGetDB( DB_SLAVE ); |
62 | | - $offset = $dbr->timestamp( $thread->topmostThread()->modified() ); |
| 62 | + $offset = wfTimestamp( TS_UNIX, $thread->topmostThread()->modified() ) + 1; |
| 63 | + $offset = $dbr->timestamp( $offset ); |
63 | 64 | |
64 | 65 | $thread_link = $changeslist->skin->link( $tmp_title, |
65 | 66 | htmlspecialchars($thread->subjectWithoutIncrement()), |