Skip to:
Content

BuddyPress.org


Ignore:
Timestamp:
07/22/2010 11:09:28 AM (15 years ago)
Author:
johnjamesjacoby
Message:

Fixes #2523 props cnorris23

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/1.2/bp-messages/bp-messages-templatetags.php

    r3134 r3145  
    273273        global $messages_template;
    274274
    275         return apply_filters( 'bp_get_message_thread_last_post_date', bp_format_time( strtotime( $messages_template->thread->last_message_date ) ) );
     275        return apply_filters( 'bp_get_message_thread_last_post_date', bp_format_time( get_date_from_gmt( $messages_template->thread->last_message_date, 'U' ) ) );
    276276    }
    277277
     
    457457        return false;
    458458
    459     $closed_notices = get_usermeta( $userdata->ID, 'closed_notices' );
     459    $closed_notices = get_user_meta( $userdata->ID, 'closed_notices', true );
    460460
    461461    if ( !$closed_notices )
Note: See TracChangeset for help on using the changeset viewer.