Skip to:
Content

BuddyPress.org

Changeset 9198


Ignore:
Timestamp:
11/27/2014 10:50:02 PM (12 years ago)
Author:
djpaul
Message:

User Settings: fix PHP notice when changing your email address.

Fixes #5982, props slaFFik

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/bp-settings/bp-settings-actions.php

    r9128 r9198  
    143143                    // We mark that the change has taken place so as to ensure a
    144144                    // success message, even though verification is still required
    145                     $_POST['email'] = $current_user->user_email;
     145                    $_POST['email'] = $update_user->user_email;
    146146                    $email_changed = true;
    147147                }
Note: See TracChangeset for help on using the changeset viewer.