Ignore:
Timestamp:
Mar 31, 2012, 6:36:50 PM (12 years ago)
Author:
Eric
Message:

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

File:
1 edited

Legend:

Unmodified
Added
Removed
  • 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.