Skip to:
Content

BuddyPress.org

Changeset 2402


Ignore:
Timestamp:
01/22/2010 10:57:34 AM (15 years ago)
Author:
apeatling
Message:

Fixes #1655

File:
1 edited

Legend:

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

    r2401 r2402  
    238238
    239239function bp_message_thread_last_post_date() {
    240     return bp_get_message_thread_last_post_date();
     240    echo bp_get_message_thread_last_post_date();
    241241}
    242242    function bp_get_message_thread_last_post_date() {
    243243        global $messages_template;
    244244
    245         echo apply_filters( 'bp_get_message_thread_last_post_date', bp_format_time( strtotime($date) ) );
     245        return apply_filters( 'bp_get_message_thread_last_post_date', bp_format_time( strtotime($date) ) );
    246246    }
    247247
     
    252252        global $messages_template, $bp;
    253253
    254         echo apply_filters( 'bp_get_message_thread_avatar', bp_core_fetch_avatar( array( 'item_id' => $sender, 'type' => 'thumb' ) ) );
     254        return apply_filters( 'bp_get_message_thread_avatar', bp_core_fetch_avatar( array( 'item_id' => $sender, 'type' => 'thumb' ) ) );
    255255    }
    256256
Note: See TracChangeset for help on using the changeset viewer.