aboutsummaryrefslogtreecommitdiffstats
path: root/token.cgi
diff options
context:
space:
mode:
authorjake%acutex.net <>2001-08-17 19:42:34 +0000
committerjake%acutex.net <>2001-08-17 19:42:34 +0000
commit9839ebfefb8410fc1780829578f406c17e9491d5 (patch)
tree90a04fdc76dc940c74a86026000776cac015a8c4 /token.cgi
parent10bb38466248d862c135be1ca2a995031f600c20 (diff)
downloadbugs-9839ebfefb8410fc1780829578f406c17e9491d5.tar
bugs-9839ebfefb8410fc1780829578f406c17e9491d5.tar.gz
bugs-9839ebfefb8410fc1780829578f406c17e9491d5.tar.bz2
bugs-9839ebfefb8410fc1780829578f406c17e9491d5.tar.xz
bugs-9839ebfefb8410fc1780829578f406c17e9491d5.zip
Fix for bug 95731: "INSERT INTO shadowlog" failed because "Table 'shadowlog' not locked", fixed typo in lock tables command.
Patch by Myk Melez <myk@mozilla.org> r= jake@acutex.net
Diffstat (limited to 'token.cgi')
-rwxr-xr-xtoken.cgi2
1 files changed, 1 insertions, 1 deletions
diff --git a/token.cgi b/token.cgi
index 145f7d6f8..2fed15ad0 100755
--- a/token.cgi
+++ b/token.cgi
@@ -218,7 +218,7 @@ sub changePassword {
# Update the user's password in the profiles table and delete the token
# from the tokens table.
- SendSQL("LOCK TABLE profiles WRITE , tokens WRITE");
+ SendSQL("LOCK TABLES profiles WRITE , tokens WRITE");
SendSQL("UPDATE profiles
SET cryptpassword = $quotedpassword
WHERE userid = $userid");