Skip to:
Content

BuddyPress.org

Changeset 1936


Ignore:
Timestamp:
09/23/2009 02:42:31 AM (15 years ago)
Author:
apeatling
Message:

Fixes #1060 props junsuijin

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/bp-forums.php

    r1921 r1936  
    164164function bp_forums_get_topic_details( $topic_id ) {
    165165    do_action( 'bbpress_init' );
    166     return get_topic( $topic_id );
     166
     167    $query = new BB_Query( 'topic', 'topic_id=' . $topic_id );
     168    return $query->results[0];
    167169}
    168170
Note: See TracChangeset for help on using the changeset viewer.