Ticket #1131 (closed defect: invalid)

Opened 3 years ago

Last modified 3 years ago

Kakumei theme uses $bb_post to refer to a topic object

Reported by: simonwheatley Owned by:
Priority: normal Milestone:
Component: Administration Version:
Severity: normal Keywords:
Cc:

Description

I think the second foreach loop on search.php in the templates is dealing with topic objects, but it calls them $bb_post which if true is misleading. The attached patch changes the var name to $bb_topic

Attachments

search-should-use-topics-kakumei.diff Download (952 bytes) - added by simonwheatley 3 years ago.
Convert var name of second loop to $bb_topic

Change History

Convert var name of second loop to $bb_topic

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

Those actually are post objects. It gets the topic title based on the topic id stored in the post object.

Note: See TracTickets for help on using tickets.