Ticket #7291: 7291.02.patch
File 7291.02.patch, 733 bytes (added by , 8 years ago) |
---|
-
src/bp-groups/classes/class-bp-groups-component.php
296 296 ) ); 297 297 298 298 // If the user was attempting to access a group, but no group by that name was found, 404. 299 if ( bp_is_groups_component() && empty( $this->current_group ) && bp_current_action() && !in_array( bp_current_action(), $this->forbidden_names ) ) {299 if ( ! bp_is_groups_directory() && bp_is_groups_component() && empty( $this->current_group ) && bp_current_action() && !in_array( bp_current_action(), $this->forbidden_names ) ) { 300 300 bp_do_404(); 301 301 return; 302 302 }