Skip to:
Content

BuddyPress.org


Ignore:
Timestamp:
06/10/2009 08:49:07 PM (17 years ago)
Author:
apeatling
Message:

Fixing bug where pagination links would break when the max value was more than the total number of items being returned.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/bp-core/bp-core-templatetags.php

    r1518 r1538  
    798798        }
    799799       
    800         if ( !$max )
     800        if ( !$max || $max >= (int)$this->members['total'] )
    801801            $this->total_member_count = (int)$this->members['total'];
    802802        else
Note: See TracChangeset for help on using the changeset viewer.