Skip to:
Content

BuddyPress.org


Ignore:
Timestamp:
08/28/2009 09:20:36 PM (15 years ago)
Author:
apeatling
Message:

Fixes #869 props plrk

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/bp-xprofile/bp-xprofile-notifications.php

    r1715 r1727  
    2525        bp_core_add_notification( $poster_id, $user_id, 'xprofile', 'new_wire_post' );
    2626
    27         if ( !get_usermeta( $bp->loggedin_user->id, 'notification_profile_wire_post' ) || 'yes' == get_usermeta( $bp->loggedin_user->id, 'notification_profile_wire_post' ) ) {
     27        if ( !get_usermeta( $user_id, 'notification_profile_wire_post' ) || 'yes' == get_usermeta( $user_id, 'notification_profile_wire_post' ) ) {
    2828            $poster_name = bp_core_get_user_displayname( $poster_id );
    2929            $wire_post = new BP_Wire_Post( $bp->profile->table_name_wire, $wire_post_id, true );
Note: See TracChangeset for help on using the changeset viewer.