Commit 83dd5d76 authored by jake%acutex.net's avatar jake%acutex.net

Bug 81594 - SQL error after editing user entry when changing numerous things at…

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
parent 9822f8b1
......@@ -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);
......
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