Skip to:
Content

BuddyPress.org

Ticket #4186: bp-members-template_patch.diff

File bp-members-template_patch.diff, 609 bytes (added by jrfoell, 9 years ago)

Patch for bp-members-template.php

  • bp-members/bp-members-template.php

     
    311311        }
    312312
    313313        // Set per_page to max if max is larger than per_page
    314         if ( !empty( $max ) && ( $per_page > $max ) )
     314        if ( !empty( $max ) && ( $per_page < $max ) )
    315315                $per_page = $max;
    316316
    317317        $members_template = new BP_Core_Members_Template( $type, $page, $per_page, $max, $user_id, $search_terms, $include, (bool)$populate_extras, $exclude, $meta_key, $meta_value, $page_arg );