Skip to:
Content

BuddyPress.org

Opened 13 years ago

Closed 13 years ago

#3541 closed defect (bug) (fixed)

bp_forums_get_topic_extras() throws errors when users have been deleted

Reported by: boonebgorges's profile boonebgorges Owned by:
Milestone: 1.5 Priority: minor
Severity: minor Version:
Component: Forums Keywords:
Cc:

Description

When a user account has been deleted, the queries in bp_forums_get_topic_extras() will not find any information related to that user. Thus, when the topics are looped, properties like $topic->topic_last_poster_email don't get set, with the result that the associated template tags spit out an error.

Change History (1)

#1 @boonebgorges
13 years ago

  • Resolution set to fixed
  • Status changed from new to closed

(In [5091]) Make sure that null values are provided for topic details when the last poster on a topic has since been deleted. Ensure that 'Deleted User' text is output when necessary on forum directories. Fixes #3541.

Note: See TracTickets for help on using tickets.