Skip to:
Content

bbPress.org

Changeset 3599


Ignore:
Timestamp:
11/13/2011 07:50:22 PM (12 years ago)
Author:
johnjamesjacoby
Message:

Fix debug notice in BuddyPress user ID filter when anonymous posting is enabled.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/plugin/bbp-includes/bbp-extend-buddypress.php

    r3597 r3599  
    10851085function bbp_filter_user_id( $user_id = 0, $displayed_user_fallback = true, $current_user_fallback = false ) {
    10861086
     1087    // Define local variable
     1088    $bbp_user_id = 0;
     1089
     1090    // Get possible user ID's
    10871091    $did = bp_displayed_user_id();
    10881092    $lid = bp_loggedin_user_id();
Note: See TracChangeset for help on using the changeset viewer.