Skip to:
Content

BuddyPress.org

Changeset 2669


Ignore:
Timestamp:
02/11/2010 01:19:16 PM (14 years ago)
Author:
apeatling
Message:

Fixes #1881

File:
1 edited

Legend:

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

    r2656 r2669  
    268268        break;
    269269    } ?>
    270     <?php if ( bp_has_members( 'user_id=0&type=' . $type . '&per_page=' . $instance['max_members'] . '&max=' . $instance['max_members'] ) ) : ?>
     270    <?php if ( bp_has_members( 'user_id=0&type=' . $type . '&per_page=' . $_POST['max-members'] . '&max=' . $_POST['max-members'] ) ) : ?>
    271271        <?php echo '0[[SPLIT]]'; // return valid result. TODO: remove this because it's dumb. ?>
    272272        <div class="avatar-block">
     
    289289            <?php endwhile; ?>
    290290        </div>
     291
    291292    <?php else: ?>
    292293        <?php echo "-1[[SPLIT]]<li>"; ?>
Note: See TracChangeset for help on using the changeset viewer.