Browse Source

! Wrong value sent to integrate_activate with direct activation - thanks Dragooon through Arantor

emanuele 13 years ago
parent
commit
8d1279cf79
1 changed files with 1 additions and 1 deletions
  1. 1 1
      Sources/Register.php

+ 1 - 1
Sources/Register.php

@@ -505,7 +505,7 @@ function Register2($verifiedOpenID = false)
 	}
 	else
 	{
-		call_integration_hook('integrate_activate', array($row['member_name']));
+		call_integration_hook('integrate_activate', array($regOptions['username']));
 
 		setLoginCookie(60 * $modSettings['cookieTime'], $memberID, sha1(sha1(strtolower($regOptions['username']) . $regOptions['password']) . $regOptions['register_vars']['password_salt']));