Skip to:
Content

BuddyPress.org

Changeset 5270


Ignore:
Timestamp:
11/03/2011 07:54:07 PM (13 years ago)
Author:
boonebgorges
Message:

Don't try to get activity permalink in bp_get_member_last_update() if activity component is disabled. Fixes #3691.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/1.5/bp-members/bp-members-template.php

    r5059 r5270  
    578578        extract( $r );
    579579
    580         if ( empty( $members_template->member->latest_update ) || !$update = maybe_unserialize( $members_template->member->latest_update ) )
     580        if ( !bp_is_active( 'activity' ) || empty( $members_template->member->latest_update ) || !$update = maybe_unserialize( $members_template->member->latest_update ) )
    581581            return false;
    582582
Note: See TracChangeset for help on using the changeset viewer.