Changeset 4770 for trunk/bp-groups/bp-groups-functions.php
- Timestamp:
- 07/21/2011 10:27:09 PM (13 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/bp-groups/bp-groups-functions.php
r4729 r4770 645 645 $group = new BP_Groups_Group( $group_id ); 646 646 647 for ( $i = 0 ; $i < count( $invited_users ); $i++) {647 for ( $i = 0, $count = count( $invited_users ); $i < $count; ++$i ) { 648 648 $member = new BP_Groups_Member( $invited_users[$i], $group_id ); 649 649 … … 779 779 780 780 // Saved okay, now send the email notification 781 for ( $i = 0 ; $i < count( $admins ); $i++)781 for ( $i = 0, $count = count( $admins ); $i < $count; ++$i ) 782 782 groups_notification_new_membership_request( $requesting_user_id, $admins[$i]->user_id, $group_id, $requesting_user->id ); 783 783
Note: See TracChangeset
for help on using the changeset viewer.