Skip to:
Content

BuddyPress.org


Ignore:
Timestamp:
06/21/2011 07:22:17 PM (15 years ago)
Author:
djpaul
Message:

Fix deleting activity stream items. Fixes #3272

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/bp-activity/bp-activity-actions.php

    r4520 r4548  
    100100
    101101        // Check access
    102         if ( !bp_activity_user_can_delete() )
     102        if ( empty( $activity->user_id ) || !bp_activity_user_can_delete( $activity ) )
    103103                return false;
    104104
Note: See TracChangeset for help on using the changeset viewer.