aboutsummaryrefslogtreecommitdiffstats
path: root/editclassifications.cgi
diff options
context:
space:
mode:
authormkanat%kerio.com <>2005-03-05 08:18:47 +0000
committermkanat%kerio.com <>2005-03-05 08:18:47 +0000
commitec610fd673feb6d6e18d121b5e67aa3f87e7f4ea (patch)
treeb1d6fe9b10b89a30e2b1932d050d5678362f638a /editclassifications.cgi
parente4b8b770b0229a0761a3ef5116c7fcad4e5352d5 (diff)
downloadbugs-ec610fd673feb6d6e18d121b5e67aa3f87e7f4ea.tar
bugs-ec610fd673feb6d6e18d121b5e67aa3f87e7f4ea.tar.gz
bugs-ec610fd673feb6d6e18d121b5e67aa3f87e7f4ea.tar.bz2
bugs-ec610fd673feb6d6e18d121b5e67aa3f87e7f4ea.tar.xz
bugs-ec610fd673feb6d6e18d121b5e67aa3f87e7f4ea.zip
Bug 277782: _throw_error should unlock tables when tables are locked, automatically
Patch By Tomas Kopal <Tomas.Kopal@altap.cz> r=travis, r=LpSolit, a=justdave
Diffstat (limited to 'editclassifications.cgi')
-rwxr-xr-xeditclassifications.cgi2
1 files changed, 0 insertions, 2 deletions
diff --git a/editclassifications.cgi b/editclassifications.cgi
index a390ed4c6..deeffdce7 100755
--- a/editclassifications.cgi
+++ b/editclassifications.cgi
@@ -300,12 +300,10 @@ if ($action eq 'update') {
if ($classification ne $classificationold) {
unless ($classification) {
- $dbh->bz_unlock_tables(UNLOCK_ABORT);
ThrowUserError("classification_not_specified")
}
if (TestClassification($classification)) {
- $dbh->bz_unlock_tables(UNLOCK_ABORT);
ThrowUserError("classification_already_exists", { name => $classification });
}
$sth = $dbh->prepare("UPDATE classifications