Skip to:
Content

bbPress.org

Changeset 3168


Ignore:
Timestamp:
05/16/2011 10:37:44 PM (13 years ago)
Author:
johnjamesjacoby
Message:

Fix issue in single-forum.php where the forum_id was incorrectly retrieved in certain situations.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/plugin/bbp-themes/bbp-twentyten/single-forum.php

    r3160 r3168  
    1919                <?php while ( have_posts() ) : the_post(); ?>
    2020
    21                     <?php if ( bbp_user_can_view_forum( array( 'forum_id' => bbp_get_topic_forum_id() ) ) ) : ?>
     21                    <?php if ( bbp_user_can_view_forum() ) : ?>
    2222
    2323                        <div id="forum-<?php bbp_forum_id(); ?>" class="bbp-forum-info">
Note: See TracChangeset for help on using the changeset viewer.