Explorar el Código

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

emanuele hace 13 años
padre
commit
8d1279cf79
Se han modificado 1 ficheros con 1 adiciones y 1 borrados
  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']));