зеркало из https://github.com/mozilla/pjs.git
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:
Родитель
2fee51487a
Коммит
e101daceeb
|
@ -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);
|
||||
|
|
Загрузка…
Ссылка в новой задаче