Forum listing doesn't display last post information

jamix - April 19, 2008 - 16:46
Project:Advanced Forum
Version:5.x-1.0-alpha7
Component:Code
Category:bug report
Priority:normal
Assigned:Unassigned
Status:closed
Description

In forum view, the "Last post" column is always empty. This is caused by an error in line 398 of advanced_forum.module. This line needs to be replaced with:

$variables['forums'][$tid]->last_reply = theme('forum_submitted', $last_topics[$tid]);

#1

Michelle - April 19, 2008 - 17:40

How odd... Looking at that code, you're right, it's clearly wrong. And yet.. It works just fine on the three sites I'm using it. Bizarre. I'll get that fixed, thanks. That should help people out on the other issue about this.

Thanks,

Michelle

#2

Michelle - April 19, 2008 - 18:01

More info. Goba just answered on IRC. Turns out it's a PHP 4 vs PHP 5 thing. PHP 5 knows what I mean when I assign it to that variable. Hehe. I'll still fix it, though. This is too minor of a thing to be making PHP 5 a requirement.

Thanks for pointing it out. I was pretty baffled why some people wouldn't see the last post info when it was working just fine for me.

Michelle

#3

Michelle - May 8, 2008 - 03:04
Status:active» fixed

#4

Anonymous (not verified) - May 22, 2008 - 03:11
Status:fixed» closed

Automatically closed -- issue fixed for two weeks with no activity.

 
 

Drupal is a registered trademark of Dries Buytaert.