Skip to:
Content

BuddyPress.org


Ignore:
Timestamp:
09/13/2016 05:35:55 AM (3 years ago)
Author:
boonebgorges
Message:

Use new groups_get_group() syntax throughout BP.

See #5451.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/bp-groups/bp-groups-admin.php

    r10985 r11091  
    228228
    229229        // Get the group from the database.
    230         $group = groups_get_group( 'group_id=' . $group_id );
     230        $group = groups_get_group( $group_id );
    231231
    232232        // If the group doesn't exist, just redirect back to the index.
     
    567567
    568568    // Get the group from the database.
    569     $group      = groups_get_group( 'group_id=' . (int) $_GET['gid'] );
     569    $group      = groups_get_group( (int) $_GET['gid'] );
    570570
    571571    $group_name = isset( $group->name ) ? bp_get_group_name( $group ) : '';
Note: See TracChangeset for help on using the changeset viewer.