Changeset 1975
- Timestamp:
- 09/28/2009 06:06:26 PM (15 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/bp-groups.php
r1929 r1975 240 240 array_shift($bp->action_variables); 241 241 242 $bp->bp_options_title = $bp->groups->current_group->name ;242 $bp->bp_options_title = $bp->groups->current_group->namee; 243 243 244 244 if ( !$bp->bp_options_avatar = bp_core_fetch_avatar( array( 'item_id' => $bp->groups->current_group->id, 'object' => 'group', 'type' => 'thumb', 'avatar_dir' => 'group-avatars', 'alt' => __( 'Group Avatar', 'buddypress' ) ) ) ) … … 717 717 718 718 /* Delete a post */ 719 720 719 else if ( 'delete' == $bp->action_variables[2] && $bp->action_variables[4] && ( $bp->is_item_admin || $bp->is_item_mod ) ) { 721 720 /* Check the nonce */ 722 721 check_admin_referer( 'bp_forums_delete_post' ); 723 724 if ( !groups_delete_group_forum_post( $bp->action_variables[ 3], $topic_id ) )722 723 if ( !groups_delete_group_forum_post( $bp->action_variables[4], $topic_id ) ) 725 724 bp_core_add_message( __( 'There was an error deleting that post', 'buddypress'), 'error' ); 726 725 else
Note: See TracChangeset
for help on using the changeset viewer.