Opened 18 years ago
Closed 18 years ago
#704 closed defect (bug) (fixed)
get_forum_name returns wrong forum name if sub-forums listed on same page
| Reported by: |
|
Owned by: | |
|---|---|---|---|
| Milestone: | 0.8.3 | Priority: | normal |
| Severity: | normal | Version: | 0.8.2.1 |
| Component: | Back-end | 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.