Changeset 21293


Ignore:
Timestamp:
03/06/13 18:18:00 (6 years ago)
Author:
Eric
Message:

Blocking bug fixed : New registrants could not validate their registration with the confirmation link
Next version is 2.50.1

Location:
extensions/UserAdvManager/trunk
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • extensions/UserAdvManager/trunk/changelog.txt.php

    r21084 r21293  
    386386            Update tr_TR, thanks to : hakanselcuk and LazBoy 
    387387            Update it_IT, thanks to : Ericnet 
     388 
     389-- 2.50.1 : Blocking bug fixed : New registrants could not validate their registration with the confirmation link 
     390            Update tr_TR, thanks to : LazBoy 
     391            Update de_DE, thanks to : stephy 
     392            Update it_IT, thanks to : Ericnet 
    388393             
    389394*/ 
  • extensions/UserAdvManager/trunk/include/functions.inc.php

    r21084 r21293  
    19041904  { 
    19051905    $id = generate_key(16); 
     1906 
    19061907    $query = ' 
    19071908SELECT COUNT(*) 
     
    19361937  if (isset($Confirm_Mail_ID)) 
    19371938  { 
     1939    $query = " 
     1940SELECT status 
     1941  FROM ".USER_INFOS_TABLE." 
     1942WHERE user_id = '".$user_id."' 
     1943;"; 
     1944    list($status) = pwg_db_fetch_row(pwg_query($query)); 
     1945 
     1946    // Insert $Confirm_Mail_ID in USER_CONFIRM_MAIL_TABLE 
     1947    $query = " 
     1948INSERT INTO ".USER_CONFIRM_MAIL_TABLE." 
     1949  (id, user_id, mail_address, status, date_check, reminder) 
     1950VALUES 
     1951  ('".$Confirm_Mail_ID."', '".$user_id."', '".$email."', '".$status."', null, false) 
     1952;"; 
     1953    pwg_query($query); 
     1954 
    19381955    // Set user permissions 
    19391956    // -------------------- 
Note: See TracChangeset for help on using the changeset viewer.