Ticket #3211: 3211.01.patch
File 3211.01.patch, 528 bytes (added by , 14 years ago) |
---|
-
buddypress/bp-activity/bp-activity-screens.php
84 84 if ( !$activity = $activity['activities'][0] ) 85 85 bp_core_redirect( bp_get_root_domain() ); 86 86 87 // If the displayed user isn't the author of this activity update, redirect them to the root 88 if ( bp_displayed_user_id() != $activity->user_id ) 89 bp_core_redirect( bp_get_root_domain() ); 90 87 91 // Default access is true 88 92 $has_access = true; 89 93