Skip to:
Content

bbPress.org


Ignore:
Timestamp:
12/25/2012 07:35:37 AM (11 years ago)
Author:
johnjamesjacoby
Message:

Update bump count functions to use integer values. See #1799.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/includes/topics/functions.php

    r4611 r4654  
    21572157    // Get counts
    21582158    $topic_id    = bbp_get_topic_id( $topic_id );
    2159     $reply_count = bbp_get_topic_reply_count( $topic_id, false );
     2159    $reply_count = bbp_get_topic_reply_count( $topic_id, true );
    21602160    $new_count   = (int) $reply_count + (int) $difference;
    21612161
     
    21832183    // Get counts
    21842184    $topic_id    = bbp_get_topic_id( $topic_id );
    2185     $reply_count = bbp_get_topic_reply_count_hidden( $topic_id, false );
     2185    $reply_count = bbp_get_topic_reply_count_hidden( $topic_id, true );
    21862186    $new_count   = (int) $reply_count + (int) $difference;
    21872187
Note: See TracChangeset for help on using the changeset viewer.