Changeset 12227 for extensions
- Timestamp:
- Sep 25, 2011, 9:55:57 PM (13 years ago)
- Location:
- extensions/UserAdvManager/trunk
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
extensions/UserAdvManager/trunk/ConfirmMail.php
r9253 r12227 44 44 /* We have to get the user's language in database */ 45 45 $query = ' 46 SELECT '.USER_INFOS_TABLE.'.language47 FROM '.USER_INFOS_TABLE.' ,'.USER_CONFIRM_MAIL_TABLE.'48 WHERE (('.USER_INFOS_TABLE.'.user_id ='.$userid.') AND ('.USER_INFOS_TABLE.'.user_id = '.USER_CONFIRM_MAIL_TABLE.'.user_id))46 SELECT language 47 FROM '.USER_INFOS_TABLE.' 48 WHERE '.USER_INFOS_TABLE.'.user_id ='.$userid.' 49 49 ;'; 50 50 $data = pwg_db_fetch_assoc(pwg_query($query)); -
extensions/UserAdvManager/trunk/changelog.txt.php
r12205 r12227 264 264 Piwigo 2.3.0 compliant 265 265 Bug 2415 fixed - New feature : Set automatically privacy level for users who have validated or not their registration. Automated task available. 266 Bug 2445 fixed - Duplicate key MySql error when a user tries to validate his registration twice. 266 267 Help files remaned and relocated in the language root directory (no more "help" subdirectory) for compliance with the new online translation tool. 267 268 */ -
extensions/UserAdvManager/trunk/include/functions.inc.php
r12189 r12227 1601 1601 $data = pwg_db_fetch_assoc(pwg_query($query)); 1602 1602 1603 if (!empty($data) and isset($data['user_id']) )1603 if (!empty($data) and isset($data['user_id']) and is_null($data['date_check'])) 1604 1604 { 1605 1605 $query = " … … 1779 1779 } 1780 1780 } 1781 else if (!empty($data) and !is_null($data['date_check'])) 1782 { 1783 return false; 1784 } 1781 1785 } 1782 1786 else
Note: See TracChangeset
for help on using the changeset viewer.