Skip to:
Content

BuddyPress.org

Changeset 6413


Ignore:
Timestamp:
10/15/2012 08:07:24 PM (12 years ago)
Author:
boonebgorges
Message:

Return the correct item id from BP_Messages_Message::send()

Fixes #4597

Props jpsb, jkudish

File:
1 edited

Legend:

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

    r6342 r6413  
    366366            return false;
    367367
     368        $this->id = $wpdb->insert_id;
     369
    368370        $recipient_ids = array();
    369371
     
    383385        }
    384386
    385         $this->id = $wpdb->insert_id;
    386387        messages_remove_callback_values();
    387388
Note: See TracChangeset for help on using the changeset viewer.