Skip to:
Content

bbPress.org


Ignore:
Timestamp:
05/15/2011 11:48:23 PM (15 years ago)
Author:
johnjamesjacoby
Message:

Fix regression introduced in r3159 causing topic and reply widgets to output type cast errors. Also remove ability for private or hidden topics/replies to peek through on widgets when viewing your own profile as a registered non-admin. See#1516.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/plugin/bbp-includes/bbp-user-template.php

    r3159 r3165  
    11131113        $hidden  = bbp_get_hidden_forum_ids();
    11141114
    1115     // Merge private and hidden forums together
    1116     $forum_ids = array_merge( $private, $hidden );
     1115    // Merge private and hidden forums together and remove any empties
     1116    $forum_ids = (array) array_filter( array_merge( $private, $hidden ) );
    11171117
    11181118    // There are forums that need to be ex
Note: See TracChangeset for help on using the changeset viewer.