Changeset 6059
- Timestamp:
- 06/02/2012 09:38:48 PM (13 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/bp-messages/bp-messages-actions.php
r5702 r6059 33 33 34 34 // Send the reply 35 if ( messages_new_message( array( 'thread_id' => $thread_id, 'subject' => $_POST['subject'], 'content' => $_POST['content'] ) ) )35 if ( messages_new_message( array( 'thread_id' => $thread_id, 'subject' => ! empty( $_POST['subject'] ) ? $_POST['subject'] : false, 'content' => $_POST['content'] ) ) ) 36 36 bp_core_add_message( __( 'Your reply was sent successfully', 'buddypress' ) ); 37 37 else
Note: See TracChangeset
for help on using the changeset viewer.