Skip to:
Content

BuddyPress.org

Ticket #7938: 7938.diff

File 7938.diff, 468 bytes (added by Jean-David, 18 months ago)
  • src/bp-members/classes/class-bp-signup.php

    diff --git a/src/bp-members/classes/class-bp-signup.php b/src/bp-members/classes/class-bp-signup.php
    index 9cd7d6e2e..18989c3d2 100644
    a b class BP_Signup { 
    187187
    188188                        // Activation key.
    189189                        if ( ! empty( $r['activation_key'] ) ) {
     190                                array_shift($sql['where']);
    190191                                $sql['where'][] = $wpdb->prepare( "activation_key = %s", $r['activation_key'] );
    191192                        }
    192193