diff options
author | jake%acutex.net <> | 2001-10-27 03:35:04 +0200 |
---|---|---|
committer | jake%acutex.net <> | 2001-10-27 03:35:04 +0200 |
commit | 83dd5d76cfb9037fa41f34aeddbf44b5d65c55aa (patch) | |
tree | a25913bd0541372d61d1a8d2c9ed0b7e31f1e9f0 /editusers.cgi | |
parent | 9822f8b1596f2729be57a1f904e198ce6566c643 (diff) | |
download | bugzilla-83dd5d76cfb9037fa41f34aeddbf44b5d65c55aa.tar.gz bugzilla-83dd5d76cfb9037fa41f34aeddbf44b5d65c55aa.tar.xz |
Bug 81594 - SQL error after editing user entry when changing numerous things at once (including the login name).
Patch by Matthew Tuck <matty@chariot.net.au>
r= dkl@redhat.com, jake@acutex.net
Diffstat (limited to 'editusers.cgi')
-rwxr-xr-x | editusers.cgi | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/editusers.cgi b/editusers.cgi index b72be6e51..3e4a20e3b 100755 --- a/editusers.cgi +++ b/editusers.cgi @@ -822,7 +822,7 @@ if ($action eq 'update') { WHERE login_name=" . SqlQuote($userold)); SendSQL("SELECT userid FROM profiles - WHERE login_name=" . SqlQuote($user)); + WHERE login_name=" . SqlQuote($userold)); my $userid = FetchOneColumn(); SendSQL("DELETE FROM logincookies WHERE userid=" . $userid); |