- Timestamp:
- Mar 31, 2012, 6:39:21 PM (13 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
extensions/UserAdvManager/branches/2.40/include/functions.inc.php
r13825 r13842 284 284 if (isset($conf_UAM[38]) and $conf_UAM[38] == 'true' and UAM_check_pwgreset($user['id'])) 285 285 { 286 // if password not changed then pwdreset fi led = true else pwdreset field = false286 // if password not changed then pwdreset field = true else pwdreset field = false 287 287 // ------------------------------------------------------------------------------ 288 288 if (!empty($_POST['use_new_pwd'])) … … 346 346 if ($_POST['mail_address'] != $current_email and (isset($conf_UAM[1]) and $conf_UAM[1] == 'local')) 347 347 348 SetPermission($ register_user['id']);// Set to "waiting" group or status until admin validation348 SetPermission($user['id']);// Set to "waiting" group or status until admin validation 349 349 $confirm_mail_need = false; 350 350 } … … 1595 1595 } 1596 1596 1597 if (!is_admin() and $conf_UAM[ 2] <> -1) // Set privacy level1597 if (!is_admin() and $conf_UAM[35] <> -1) // Set privacy level 1598 1598 { 1599 1599 $query = " … … 1601 1601 (user_id, level) 1602 1602 VALUES 1603 ('".$user_id."', '".$conf_UAM[ level]."')1603 ('".$user_id."', '".$conf_UAM[35]."') 1604 1604 ;"; 1605 1605 pwg_query($query);
Note: See TracChangeset
for help on using the changeset viewer.