Skip to:
Content

BuddyPress.org


Ignore:
Timestamp:
07/21/2011 10:27:09 PM (13 years ago)
Author:
djpaul
Message:

Tune up 'for' loops. Fixes #2985, props cnorris23 and r-a-y

File:
1 edited

Legend:

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

    r4729 r4770  
    22002200            $invites = groups_get_invites_for_group( $bp->loggedin_user->id, $group_id );
    22012201
    2202             for ( $i = 0; $i < count( $friends ); $i++ ) {
     2202            for ( $i = 0, $count = count( $friends ); $i < $count; ++$i ) {
    22032203                $checked = '';
    22042204
Note: See TracChangeset for help on using the changeset viewer.