Index: /veekun/trunk/templates/forum/common.tt
===================================================================
--- /veekun/trunk/templates/forum/common.tt (revision 406)
+++ /veekun/trunk/templates/forum/common.tt (revision 413)
@@ -175,5 +175,5 @@
 [%     END %]
 </td>
-<td class="postinfo"><a href="[% c.uri('Users', 'info', thread.firstpost.user_id) %]">[% thread.firstpost.user.name %]</a> <a href="/forum/post/[% thread.firstpost.id %]">[% thread.firstpost.time | date %]</a></td>
+<td class="postinfo"><a href="[% c.uri('Users', 'info', thread.first_post.user_id) %]">[% thread.first_post.user.name %]</a> <a href="/forum/post/[% thread.first_post.id %]">[% thread.first_post.time | date %]</a></td>
 <td class="count">[%# this is stupid fix it lati, but if all posts are deleted this will show -1 %][% IF thread.post_count > 0; thread.post_count - 1; ELSE; thread.post_count; END %]</td><td class="count">[% thread.view_count %]</td>
 <td class="postinfo">
@@ -181,5 +181,5 @@
 -
 [%     ELSE %]
-<a href="[% c.uri('Users', 'info', thread.lastpost.user_id) %]">[% thread.lastpost.user.name %]</a> <a href="/forum/post/[% thread.lastpost.id %]">[% thread.lastpost.time | date %]</a>
+<a href="[% c.uri('Users', 'info', thread.last_post.user_id) %]">[% thread.last_post.user.name %]</a> <a href="/forum/post/[% thread.last_postastpost.id %]">[% thread.last_post.time | date %]</a>
 [%     END -%]
 </td>
@@ -225,6 +225,6 @@
 <td class="postinfo">
 [%     IF forum.last_post_id %]
-[%         IF 25 < forum.lastpost.thread.subject.length; subject = last_thread.subject.substr(0, 22) _ '...'; ELSE; subject = forum.lastpost.thread.subject; END -%]
-[%             subject %] <a href="[% c.uri('Users', 'info', forum.lastpost.user_id) %]">[% forum.lastpost.user.name %]</a> <a href="/forum/post/[% forum.last_post_id %]">[% forum.lastpost.time | date %]</a>
+[%         IF 25 < forum.last_post.thread.subject.length; subject = last_thread.subject.substr(0, 22) _ '...'; ELSE; subject = forum.last_post.thread.subject; END -%]
+[%             subject %] <a href="[% c.uri('Users', 'info', forum.last_post.user_id) %]">[% forum.last_post.user.name %]</a> <a href="/forum/post/[% forum.last_post_id %]">[% forum.last_post.time | date %]</a>
 [%     ELSE %]
 (no posts)
