Changeset 2434 for trunk/bp-messages/bp-messages-templatetags.php
- Timestamp:
- 01/24/2010 10:37:51 PM (15 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/bp-messages/bp-messages-templatetags.php
r2408 r2434 555 555 $this->thread = new BP_Messages_Thread( $thread_id, true ); 556 556 $this->message_count = count( $this->thread->messages ); 557 558 $last_message_index = $this->message_count - 1; 559 $this->thread->last_message_id = $this->thread->messages[$last_message_index]->id; 560 $this->thread->last_message_date = $this->thread->messages[$last_message_index]->date_sent; 561 $this->thread->last_sender_id = $this->thread->messages[$last_message_index]->sender_id; 562 $this->thread->last_message_subject = $this->thread->messages[$last_message_index]->subject; 563 $this->thread->last_message_content = $this->thread->messages[$last_message_index]->message; 557 564 } 558 565
Note: See TracChangeset
for help on using the changeset viewer.