Changeset 13841


Ignore:
Timestamp:
03/31/12 18:36:50 (8 years ago)
Author:
Eric
Message:

Bug 2603 fixed - Php notice when user changes his email in his profile if confirmation by email is set

Location:
extensions/UserAdvManager/trunk
Files:
2 edited

Legend:

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

    r13822 r13841  
    297297-- 2.40.0 : Bug 2570 fixed - Adding Wiki link to complete plugin documentation 
    298298            Bug 2591 fixed - Excluding Adult_Content generic users from users tracking list 
     299            Bug 2603 fixed - Php notice when user changes his email in his profile if confirmation by email is set 
    299300*/ 
    300301?> 
  • extensions/UserAdvManager/trunk/include/functions.inc.php

    r13822 r13841  
    284284    if (isset($conf_UAM[38]) and $conf_UAM[38] == 'true' and UAM_check_pwgreset($user['id'])) 
    285285    { 
    286       // if password not changed then pwdreset filed = true else pwdreset field = false 
     286      // if password not changed then pwdreset field = true else pwdreset field = false 
    287287      // ------------------------------------------------------------------------------ 
    288288      if (!empty($_POST['use_new_pwd'])) 
     
    346346        if ($_POST['mail_address'] != $current_email and (isset($conf_UAM[1]) and $conf_UAM[1] == 'local')) 
    347347         
    348           SetPermission($register_user['id']);// Set to "waiting" group or status until admin validation 
     348          SetPermission($user['id']);// Set to "waiting" group or status until admin validation 
    349349          $confirm_mail_need = false; 
    350350      } 
Note: See TracChangeset for help on using the changeset viewer.