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
This commit is contained in:
jake%acutex.net 2001-10-26 18:35:04 +00:00
Родитель 2fee51487a
Коммит e101daceeb
1 изменённых файлов: 1 добавлений и 1 удалений

Просмотреть файл

@ -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);