]> git.ipfire.org Git - thirdparty/bugzilla.git/commitdiff
fix for 54566: Software error generated when adding invalid dependencies
authorcyeh%bluemartini.com <>
Sat, 24 Feb 2001 05:40:03 +0000 (05:40 +0000)
committercyeh%bluemartini.com <>
Sat, 24 Feb 2001 05:40:03 +0000 (05:40 +0000)
if we call PuntTryAgain(), make sure we've unlocked tables

CGI.pl

diff --git a/CGI.pl b/CGI.pl
index 7ac110e3066c191eabc607b315aaa331cfb2082e..c557473a835545431a079e83066dc28533dbcfea 100644 (file)
--- a/CGI.pl
+++ b/CGI.pl
@@ -967,6 +967,7 @@ sub PuntTryAgain ($) {
     my ($str) = (@_);
     print PerformSubsts(Param("errorhtml"),
                         {errormsg => $str});
+    SendSQL("UNLOCK TABLES");
     PutFooter();
     exit;
 }