Opened 13 years ago
Closed 13 years ago
#4597 closed defect (bug) (fixed)
Message Sent ID
| Reported by: |
|
Owned by: | |
|---|---|---|---|
| Milestone: | 1.7 | Priority: | normal |
| Severity: | normal | Version: | 1.6 |
| Component: | Messages | Keywords: | has-patch |
| Cc: | jkudish |
Description
Hi,
In function send of messaging component, in the file bp-messages-classes.php, the ID is placed like this: $ this-> id = $ wpdb-> insert_id on line 385;
But that’re getting the ID of the recipient, rather than the ID of the message sent.
To get the ID of the message correctly, the code $ this-> id = $ wpdb-> insert_id should appear on line 368 instead of line 385. Is there any reason for this?
Attachments (1)
Change History (5)
Note: See
TracTickets for help on using
tickets.
Return the correct ID in the send() method of BP_Messages_Thread