Browse Source

! memberName or member_name .... apparently there is a difference :P

Signed-off-by: Spuds <[email protected]>
Spuds 13 years ago
parent
commit
80225371dd
1 changed files with 1 additions and 1 deletions
  1. 1 1
      Sources/Profile.php

+ 1 - 1
Sources/Profile.php

@@ -538,7 +538,7 @@ function ModifyProfile($post_errors = array())
 				$good_password = in_array(true, call_integration_hook('integrate_verify_password', array($cur_profile['member_name'], $_POST['oldpasswrd'], false)), true);
 
 				// Bad password!!!
-				if (!$good_password && $user_info['passwd'] != sha1(strtolower($user_profile[$memID]['memberName']) . un_htmlspecialchars(stripslashes($_POST['oldpasswrd']))))
+				if (!$good_password && $user_info['passwd'] != sha1(strtolower($user_profile[$memID]['member_name']) . un_htmlspecialchars(stripslashes($_POST['oldpasswrd']))))
 					$post_errors[] = 'bad_password';
 
 				// Warn other elements not to jump the gun and do custom changes!