Changeset 4506 for trunk/bp-activity/bp-activity-actions.php
- Timestamp:
- 06/13/2011 09:54:52 PM (15 years ago)
- File:
-
- 1 edited
-
trunk/bp-activity/bp-activity-actions.php (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
trunk/bp-activity/bp-activity-actions.php
r4469 r4506 27 27 $activity = bp_activity_get_specific( array( 'activity_ids' => $bp->action_variables[0] ) ); 28 28 29 // Redirect to root if activity does not exist 30 if ( !$activity = $activity['activities'][0] ) 31 bp_core_redirect( bp_get_root_domain() ); 29 // 404 if activity does not exist 30 if ( !$activity = $activity['activities'][0] ) { 31 bp_do_404(); 32 return; 33 } 32 34 33 35 // Do not redirect at default
Note:
See TracChangeset
for help on using the changeset viewer.
![(please configure the [header_logo] section in trac.ini)](/chrome/site/your_project_logo.png)