Changeset 8203
- Timestamp:
- Dec 20, 2010, 6:28:35 PM (13 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
extensions/LCAS/trunk/main.inc.php
r8202 r8203 61 61 { 62 62 /* User non case sensitive */ 63 if (isset($conf_LCAS[0]) and $conf_LCAS[0] == 'true' )63 if (isset($conf_LCAS[0]) and $conf_LCAS[0] == 'true' and isset($conf_LCAS[1]) and $conf_LCAS[1] == 'false') 64 64 { 65 65 // For testing only // $new_username = LCAS_SearchCaseUsername($_POST['username']); … … 69 69 70 70 /* User non accent sensitive */ 71 if (isset($conf_LCAS[ 1]) and $conf_LCAS[1] == 'true')71 if (isset($conf_LCAS[0]) and $conf_LCAS[0] == 'false' and isset($conf_LCAS[1]) and $conf_LCAS[1] == 'true') 72 72 { 73 73 $new_username = LCAS_change_case($_POST['username'], 2); 74 $_POST['username'] = $new_username == '' ? $_POST['username'] : $new_username; 75 } 76 77 /* User non accent sensitive */ 78 if (isset($conf_LCAS[1]) and $conf_LCAS[1] == 'true' and isset($conf_LCAS[0]) and $conf_LCAS[0] == 'true') 79 { 80 $new_username = LCAS_change_case($_POST['username'], 3); 74 81 $_POST['username'] = $new_username == '' ? $_POST['username'] : $new_username; 75 82 }
Note: See TracChangeset
for help on using the changeset viewer.