]> git.ipfire.org Git - thirdparty/bugzilla.git/commitdiff
Fix for bug 95731: "INSERT INTO shadowlog" failed because "Table 'shadowlog' not...
authorjake%acutex.net <>
Fri, 17 Aug 2001 19:42:34 +0000 (19:42 +0000)
committerjake%acutex.net <>
Fri, 17 Aug 2001 19:42:34 +0000 (19:42 +0000)
Patch by Myk Melez <myk@mozilla.org>
r= jake@acutex.net

token.cgi

index 145f7d6f809f42666684a359b853b8dd25313fac..2fed15ad08cae1718654cd9baa993d52fa5871c2 100755 (executable)
--- 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");