Opened 6 years ago
Closed 6 years ago
#704 closed defect (fixed)
get_forum_name returns wrong forum name if sub-forums listed on same page
| Reported by: |
|
Owned by: | |
|---|---|---|---|
| Priority: | normal | Milestone: | 0.8.3 |
| Component: | Back-end | Version: | 0.8.2.1 |
| Severity: | normal | Keywords: | |
| Cc: |
Description
get_forum_name() will return the name of the last sub-forum shown on a page, instead of the current forum being displayed when used outside (below) the loop on a template (ie. forum.php)
To get the correct result I had to use get_forum_name($forum_id)but that should not be necessary in theory, after the loop the internal counter should be reset back to the current forum?
Change History (2)
Note: See
TracTickets for help on using
tickets.

This also affects
Which calculates the wrong forum_id, if a forum has sub-forums.
I had to workaround by using
In the template.