Changeset 352 for trunk/bp-groups.php
- Timestamp:
- 09/17/2008 06:22:09 PM (18 years ago)
- File:
-
- 1 edited
-
trunk/bp-groups.php (modified) (3 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/bp-groups.php
r347 r352 252 252 function groups_catch_action() { 253 253 global $bp, $current_blog; 254 global $is_single_group , $is_item_admin;254 global $is_single_group; 255 255 global $create_group_step, $group_obj, $completed_to_step; 256 256 … … 351 351 352 352 /* Using "item" not "group" for generic support in other components. */ 353 $ is_item_admin= groups_is_user_admin( $bp['loggedin_userid'], $group_obj->id );353 $bp['is_item_admin'] = groups_is_user_admin( $bp['loggedin_userid'], $group_obj->id ); 354 354 355 355 switch ( $bp['action_variables'][0] ) { … … 383 383 } else if ( $bp['action_variables'][1] == 'delete' && BP_Groups_Member::check_is_member( $bp['loggedin_userid'], $group_obj->id ) ) { 384 384 385 if ( !bp_wire_delete_post( $bp['action_variables'][2], $ is_item_admin) ) {385 if ( !bp_wire_delete_post( $bp['action_variables'][2], $bp['groups']['table_name_wire'] ) ) { 386 386 bp_catch_uri( 'groups/group-home' ); 387 387 } else {
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)