Changeset 17968
- Timestamp:
- Sep 17, 2012, 2:13:47 PM (12 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
extensions/UserAdvManager/trunk/include/functions.inc.php
r17946 r17968 102 102 } 103 103 } 104 } 105 106 // Perform user logout after registration if not validated107 if ((isset($conf_UAM[39]) and $conf_UAM[39] == 'true') and !UAM_UsrReg_Verif($user['id']) and !is_admin() and !is_webmaster())108 {109 invalidate_user_cache();110 logout_user();111 redirect(UAM_PATH.'rejected.php');104 105 // Perform user logout after registration if not validated 106 if ((isset($conf_UAM[39]) and $conf_UAM[39] == 'true') and !UAM_UsrReg_Verif($user['id']) and !is_admin() and !is_webmaster() ) 107 { 108 invalidate_user_cache(); 109 logout_user(); 110 redirect(UAM_PATH.'rejected.php'); 111 } 112 112 } 113 113 } … … 1621 1621 SELECT COUNT(*) 1622 1622 FROM '.USER_CONFIRM_MAIL_TABLE.' 1623 WHERE id = '.$id.'1623 WHERE id = "'.$id.'" 1624 1624 ;'; 1625 1625 list($count) = pwg_db_fetch_row(pwg_query($query));
Note: See TracChangeset
for help on using the changeset viewer.