Ignore:
Timestamp:
Dec 20, 2010, 5:55:44 PM (13 years ago)
Author:
Eric
Message:

bug 2069 : Improving case sensitivity on logon. Works fine only for case sensitive not for accents at this time.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • extensions/LCAS/trunk/include/functions.inc.php

    r8197 r8201  
    852852
    853853/**
    854  * Function called from main.inc.php - Returns exiting lowercase username in database
     854 * Function called from main.inc.php - Returns username if existing lowercase username in database
    855855 *
    856856 * @param : $username typed in by user for identification
    857857 *
    858  * @return : lowercase $username found in database
     858 * @return : $username found in database
    859859 *
    860860 */
     
    871871LIMIT 1;";
    872872
    873     list($username) = pwg_db_fetch_assoc(pwg_query($query));;
     873    list($username) = pwg_db_fetch_row(pwg_query($query));
    874874
    875875    return isset($username) ? $username : '';
Note: See TracChangeset for help on using the changeset viewer.