[buddypress-trac] [BuddyPress] #2235: incorrect variable in bp_activity_notifications

buddypress-trac at lists.automattic.com buddypress-trac at lists.automattic.com
Tue Mar 23 18:36:22 UTC 2010


#2235: incorrect variable in bp_activity_notifications
--------------------------+-------------------------------------------------
 Reporter:  peterspeidel  |       Owner:     
     Type:  defect        |      Status:  new
 Priority:  trivial       |   Milestone:     
Component:  Activity      |    Keywords:     
--------------------------+-------------------------------------------------
 see line 18 and 19

 {{{
                 // Now email the user with the contents of the message (if
 they have enabled email notifications)
                 if ( 'no' != get_usermeta( $user_id,
 'notification_activity_new_mention' ) )

 }}}

 this should be standing there


 {{{
                 // Now email the user with the contents of the message (if
 they have enabled email notifications)
                 if ( 'no' != get_usermeta( $receiver_user_id,
 'notification_activity_new_mention' ) )

 }}}

 in other words: replace $user_id for $receiver_user_id

-- 
Ticket URL: <http://trac.buddypress.org/ticket/2235>
BuddyPress <http://buddypress.org/>
BuddyPress


More information about the buddypress-trac mailing list