Ticket #6141: 6141.patch
File 6141.patch, 579 bytes (added by , 10 years ago) |
---|
-
src/bp-activity/bp-activity-template.php
diff --git src/bp-activity/bp-activity-template.php src/bp-activity/bp-activity-template.php index b2f8036..2bdecca 100644
function bp_has_activities( $args = '' ) { 541 541 $object = false; 542 542 $primary_id = false; 543 543 544 // Make sure all activity actions are set while doing Ajax 545 if ( defined( 'DOING_AJAX' ) && true === (bool) DOING_AJAX ) { 546 bp_activity_get_actions(); 547 } 548 544 549 // User filtering 545 550 if ( bp_displayed_user_id() ) 546 551 $user_id = bp_displayed_user_id();