From a7549eeea54ed794dc0e10aa12d0821b90e56a3a Mon Sep 17 00:00:00 2001 From: "Pierre Habouzit (MadCoder" Date: Fri, 14 Jan 2005 15:04:28 +0000 Subject: [PATCH] oops git-archimport-id: opensource@polytechnique.org--2005/platal--mainline--0.9--patch-320 --- htdocs/auth-groupex.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/htdocs/auth-groupex.php b/htdocs/auth-groupex.php index d9a07b1..f56e1cf 100644 --- a/htdocs/auth-groupex.php +++ b/htdocs/auth-groupex.php @@ -52,7 +52,7 @@ function gpex_make_auth($chlg, $privkey, $datafields) { if (isset($_SESSION[$val])) { $tohash .= $_SESSION[$val]; } else if ($val == 'username') { - $res = $globals->xdb->query("SELECT alias FROM aliases WHERE a.user_id = {?} AND FIND_IN_SET('bestalias', flags)", Session::getInt('uid')); + $res = $globals->xdb->query("SELECT alias FROM aliases WHERE id = {?} AND FIND_IN_SET('bestalias', flags)", Session::getInt('uid')); $min_username = $res->fetchOneCell(); $tohash .= $min_username; } -- 2.1.4