Skip to:
Content

BuddyPress.org

Changeset 2494


Ignore:
Timestamp:
01/31/2010 01:59:28 PM (16 years ago)
Author:
apeatling
Message:

Fixes bug with incorrect update showing for a user on member list.

File:
1 edited

Legend:

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

    r2492 r2494  
    291291        extract( $r, EXTR_SKIP );
    292292
    293         $update = maybe_unserialize( $members_template->member->latest_update );
     293        if ( !$update = maybe_unserialize( $members_template->member->latest_update ) )
     294            return false;
     295
    294296        $update_content = apply_filters( 'bp_get_activity_latest_update', strip_tags( bp_create_excerpt( $update['content'], $length ) ) );
    295297
Note: See TracChangeset for help on using the changeset viewer.