Changeset 8201 for extensions
- Timestamp:
- Dec 20, 2010, 5:55:44 PM (14 years ago)
- Location:
- extensions/LCAS/trunk
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
extensions/LCAS/trunk/include/functions.inc.php
r8197 r8201 852 852 853 853 /** 854 * Function called from main.inc.php - Returns exiting lowercase username in database854 * Function called from main.inc.php - Returns username if existing lowercase username in database 855 855 * 856 856 * @param : $username typed in by user for identification 857 857 * 858 * @return : lowercase $username found in database858 * @return : $username found in database 859 859 * 860 860 */ … … 871 871 LIMIT 1;"; 872 872 873 list($username) = pwg_db_fetch_ assoc(pwg_query($query));;873 list($username) = pwg_db_fetch_row(pwg_query($query)); 874 874 875 875 return isset($username) ? $username : ''; -
extensions/LCAS/trunk/main.inc.php
r8197 r8201 61 61 { 62 62 /* User non case sensitive */ 63 if (isset($conf_LCAS[0]) and $conf_LCAS[0] == ' false')63 if (isset($conf_LCAS[0]) and $conf_LCAS[0] == 'true') 64 64 { 65 $new_username = LCAS_SearchUsername($_POST['username']); // Testing still under progress - This is not fully functionnal !65 $new_username = LCAS_SearchUsername($_POST['username']); 66 66 $_POST['username'] = $new_username == '' ? $_POST['username'] : $new_username; 67 67 }
Note: See TracChangeset
for help on using the changeset viewer.