Changeset 5857
- Timestamp:
- 07/16/2015 03:32:23 AM (10 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/includes/extend/buddypress/activity.php
r5829 r5857 276 276 277 277 // Get the activity stream item, bail if it doesn't exist 278 $existing = bp_activity_get_specific( array( 'activity_ids' => $activity_id, 'show_hidden' => true, 'spam' => 'all', ));279 if ( empty( $existing ['total'] ) || ( 1 !== (int) $existing['total']) ) {278 $existing = new BP_Activity_Activity( $activity_id ); 279 if ( empty( $existing->component ) ) { 280 280 return null; 281 281 }
Note: See TracChangeset
for help on using the changeset viewer.