Closed (duplicate)
Project:
Advanced Forum
Version:
6.x-1.0-alpha2
Component:
Code
Priority:
Normal
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
22 Jul 2008 at 17:02 UTC
Updated:
31 Jul 2008 at 21:29 UTC
Just upgraded from Drupal 6.2 to 6.3 and also updated Advanced Forum to 6.x-1.0-alpha2
On the main forum overview page (/forum) the last post column works correctly for new topics, but for replies is shows them as being made by "Anonymous"
I've tracked it down to these lines of code starting on line 502
if (!empty($variables['topic']->reply_author_id)) {
$author->uid = $variables['topic']->reply_author_id;
$author->name = $variables['topic']->reply_author_name; It seems that reply_author_id has no value even when there is a reply. So the statement fails. I'm guessing that reply_author_id is not the right variable name, but I am not sure what it should be.
Comments
Comment #1
swirtI found the problem.
Line 744 reads: c.uid topic_author_id,
but is should be: c.uid reply_author_id,
Comment #2
michellehttp://drupal.org/node/268273