Skip to:
Content

BuddyPress.org

Changeset 10391


Ignore:
Timestamp:
12/03/2015 04:44:15 PM (4 years ago)
Author:
djpaul
Message:

Groups: in the wp-admin management screen, make sure the specified group ID is an integer.

File:
1 edited

Legend:

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

    r10386 r10391  
    545545
    546546    // Get the group from the database.
    547     $group      = groups_get_group( 'group_id=' . $_GET['gid'] );
     547    $group      = groups_get_group( 'group_id=' . (int) $_GET['gid'] );
    548548
    549549    /** This filter is documented in bp-groups/bp-groups-template.php */
Note: See TracChangeset for help on using the changeset viewer.