Commit 028a0330 authored by Mike Sheldon's avatar Mike Sheldon

Merge commit 'refs/merge-requests/13' of git://gitorious.org/foocorp/gnu-fm

parents 67559044 a9944c21
......@@ -44,7 +44,7 @@ $timestamp = time();
$adodb->SetFetchMode(ADODB_FETCH_ASSOC);
try {
$row = $adodb->GetRow('SELECT uniqueid,password FROM Users WHERE lower(username) = ' . $adodb->qstr($username));
$row = $adodb->GetRow('SELECT uniqueid,password FROM Users WHERE lower(username) = lower(' . $adodb->qstr($username) . ')');
} catch (Exception $e) {
die('FAILED ' . $e->getMessage() . "\n");
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment