From 9839ebfefb8410fc1780829578f406c17e9491d5 Mon Sep 17 00:00:00 2001 From: "jake%acutex.net" <> Date: Fri, 17 Aug 2001 19:42:34 +0000 Subject: Fix for bug 95731: "INSERT INTO shadowlog" failed because "Table 'shadowlog' not locked", fixed typo in lock tables command. Patch by Myk Melez r= jake@acutex.net --- token.cgi | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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"); -- cgit v1.2.3-24-g4f1b