Skip to:
Content

BuddyPress.org

Changeset 7931


Ignore:
Timestamp:
02/18/2014 09:48:11 PM (10 years ago)
Author:
boonebgorges
Message:

Ensure that 'page' value passed to BP_Groups_Group_Members_Template is respected

Previously, it was being ignored - the only value considered was
$_GETmlpage?, with a hardcoded fallback of 1.

See #921

Props imath

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/bp-groups/bp-groups-template.php

    r7930 r7931  
    19881988        extract( $r );
    19891989
    1990         $this->pag_page = isset( $_REQUEST['mlpage'] ) ? intval( $_REQUEST['mlpage'] ) : 1;
     1990        $this->pag_page = isset( $_REQUEST['mlpage'] ) ? intval( $_REQUEST['mlpage'] ) : $r['page'];
    19911991        $this->pag_num  = isset( $_REQUEST['num'] ) ? intval( $_REQUEST['num'] ) : $per_page;
    19921992
Note: See TracChangeset for help on using the changeset viewer.