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 | 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.
Note: See
TracTickets for help on using
tickets.
(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.