Skip to:
Content

BuddyPress.org

Changeset 12190


Ignore:
Timestamp:
07/16/2018 09:31:18 PM (19 months ago)
Author:
r-a-y
Message:

Nouveau: Fix wrong error message showing when leaving a group via AJAX.

Props elhardoum, dullowl.

See #7913 (trunk)

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/bp-templates/bp-nouveau/includes/groups/ajax.php

    r12156 r12190  
    207207
    208208            case 'groups_leave_group' :
    209                 if (  groups_leave_group( $group->id ) ) {
     209                if (  ! groups_leave_group( $group->id ) ) {
    210210                    $response = array(
    211211                        'feedback' => sprintf(
Note: See TracChangeset for help on using the changeset viewer.