Changeset 7006 for trunk/src/includes/extend/buddypress/groups.php
- Timestamp:
- 11/24/2019 01:38:37 PM (5 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/includes/extend/buddypress/groups.php
r6967 r7006 323 323 public function edit_screen( $group = false ) { 324 324 $forum_id = 0; 325 $group_id = empty( $group->id ) ? bp_get_new_group_id() : $group->id 325 $group_id = empty( $group->id ) ? bp_get_new_group_id() : $group->id; 326 326 $forum_ids = bbp_get_group_forum_ids( $group_id ); 327 327 … … 400 400 bbp_add_error( 'bbp_edit_group_forum_screen_save', __( '<strong>ERROR</strong>: Are you sure you wanted to do that?', 'bbpress' ) ); 401 401 return; 402 402 } 403 403 404 404 $edit_forum = ! empty( $_POST['bbp-edit-group-forum'] ) ? true : false; … … 963 963 964 964 // Single Topic 965 else :965 else : 966 966 bbp_set_query_name( 'bbp_single_topic' ); 967 967 bbp_get_template_part( 'content', 'single-topic' );
Note: See TracChangeset
for help on using the changeset viewer.