Skip to:
Content

BuddyPress.org


Ignore:
Timestamp:
04/15/2010 11:59:40 AM (16 years ago)
Author:
apeatling
Message:

Merging 1.2 branch with trunk.

File:
1 edited

Legend:

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

    r2719 r2925  
    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.