Skip to:
Content

BuddyPress.org

Changeset 2869


Ignore:
Timestamp:
03/25/2010 11:24:54 AM (15 years ago)
Author:
apeatling
Message:

Fixes #2235 props peterspeidel

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/1.2/bp-activity/bp-activity-notifications.php

    r2719 r2869  
    1313
    1414    foreach( (array)$usernames as $username ) {
    15         if ( !$receiver_user_id = bp_core_get_userid($username) )
     15        if ( !$receiver_user_id = bp_core_get_userid( $username ) )
    1616            continue;
    1717
    1818        // Now email the user with the contents of the message (if they have enabled email notifications)
    19         if ( 'no' != get_usermeta( $user_id, 'notification_activity_new_mention' ) ) {
     19        if ( 'no' != get_usermeta( $receiver_user_id, 'notification_activity_new_mention' ) ) {
    2020            $poster_name = bp_core_get_user_displayname( $poster_user_id );
    2121
Note: See TracChangeset for help on using the changeset viewer.