Skip to:
Content

BuddyPress.org


Ignore:
Timestamp:
08/03/2010 10:49:23 AM (16 years ago)
Author:
johnjamesjacoby
Message:

Fix issue when replying to private message would trigger notification to sender.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/1.2/bp-messages.php

    r3145 r3157  
    426426
    427427        // Strip the sender from the recipient list if they exist
    428         if ( $key = array_search( $sender_id, $message->recipients ) )
    429             unset( $message->recipients[$key] );
     428        if ( isset( $message->recipients[$sender_id] ) )
     429            unset( $message->recipients[$sender_id] );
    430430
    431431        if ( empty( $message->subject ) )
Note: See TracChangeset for help on using the changeset viewer.