Skip to content

Commit

Permalink
Continuing work on #146
Browse files Browse the repository at this point in the history
  • Loading branch information
JasWSInc committed Jun 2, 2014
1 parent c4526c1 commit b34a36b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion s2member/includes/classes/profile-mods-in.inc.php
Expand Up @@ -60,7 +60,7 @@ public static function handle_profile_modifications()
if(is_email($_p['ws_plugin__s2member_profile_email']) && !email_exists($_p['ws_plugin__s2member_profile_email']))
{
$userdata['user_email'] = $_p['ws_plugin__s2member_profile_email'];
if($userdata['user_email'] !== $user->user_email)
if(strcasecmp($userdata['user_email'], $user->user_email) !== 0)
$email_change = TRUE;
}
if(!empty ($_p['ws_plugin__s2member_profile_password1']))
Expand Down

0 comments on commit b34a36b

Please sign in to comment.