Skip to:
Content

BuddyPress.org

Changeset 5969


Ignore:
Timestamp:
04/07/2012 02:34:51 PM (8 years ago)
Author:
djpaul
Message:

Fix display of duplicate recipients listed in private messages for 1.5 branch. Fixes #3938 and #3971.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/1.5/bp-messages/bp-messages-template.php

    r5532 r5969  
    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.