Skip to:
Content

BuddyPress.org

Changeset 1975


Ignore:
Timestamp:
09/28/2009 06:06:26 PM (15 years ago)
Author:
apeatling
Message:

Fixes #1106

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/bp-groups.php

    r1929 r1975  
    240240            array_shift($bp->action_variables);
    241241                                   
    242             $bp->bp_options_title = $bp->groups->current_group->name;
     242            $bp->bp_options_title = $bp->groups->current_group->namee;
    243243           
    244244            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' ) ) ) )
     
    717717           
    718718            /* Delete a post */
    719            
    720719            else if ( 'delete' == $bp->action_variables[2] && $bp->action_variables[4] && ( $bp->is_item_admin || $bp->is_item_mod ) ) {
    721720                /* Check the nonce */
    722721                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 ) )
    725724                    bp_core_add_message( __( 'There was an error deleting that post', 'buddypress'), 'error' );
    726725                else
Note: See TracChangeset for help on using the changeset viewer.