Skip to:
Content

Changeset 5641


Ignore:
Timestamp:
01/18/12 22:16:14 (2 years ago)
Author:
djpaul
Message:

Fix display of duplicate recipients listed in private messages. Fixes #3938

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/bp-messages/bp-messages-template.php

    r5533 r5641  
    783783 
    784784        foreach( (array)$thread_template->thread->recipients as $recipient ) { 
    785             if ( $recipient->user_id !== bp_loggedin_user_id() ) 
     785            if ( (int) $recipient->user_id !== bp_loggedin_user_id() ) 
    786786                $recipient_links[] = bp_core_get_userlink( $recipient->user_id ); 
    787787        } 
Note: See TracChangeset for help on using the changeset viewer.