Subject does not display in message thread view
|Reported by:||rebootnow||Owned by:||Andy Peatling|
The function "messages_view_thread()" displays the detail of a thread, but does not correctly display the subject. This can be seen in the current installation on buddypress.org.
The following line (around line number 495 in "bp-messages-templatetags.php" in the trunk) does not do anything since there is no member called "subject" in the "BP_Messages_Thread" class.
<h2 id="message-subject"><?php echo $thread->subject; ?></h2>
One solution would be to change the above line to:
<h2 id="message-subject"><?php echo $thread->messages->subject; ?></h2>