Skip to:
Content

BuddyPress.org

Ticket #8233: 8233.diff

File 8233.diff, 1.0 KB (added by boonebgorges, 5 years ago)
  • src/bp-groups/bp-groups-functions.php

    diff --git a/src/bp-groups/bp-groups-functions.php b/src/bp-groups/bp-groups-functions.php
    index 7419f2660..611e4931e 100644
    a b function groups_send_invites( $args = array() ) { 
    16891689                'force_resend'  => false,
    16901690        ), 'groups_send_invitation' );
    16911691
     1692
     1693        $args = array(
     1694                'user_id'       => $r['user_id'],
     1695                'invitee_email' => $r['invitee_email'],
     1696                'item_id'       => $r['group_id'],
     1697                'inviter_id'    => $r['inviter_id'],
     1698        );
     1699
    16921700        /*
    16931701         * We will generally only want to fetch unsent invitations.
    16941702         * If force_resend is true, then we need to fetch both sent and draft invites.
    function groups_send_invites( $args = array() ) { 
    16991707                $args['invite_sent'] = 'draft';
    17001708        }
    17011709
    1702         $args = array(
    1703                 'user_id'       => $r['user_id'],
    1704                 'invitee_email' => $r['invitee_email'],
    1705                 'item_id'       => $r['group_id'],
    1706                 'inviter_id'    => $r['inviter_id'],
    1707         );
    17081710        $invites = groups_get_invites( $args );
    17091711
    17101712        $invited_users = array();