summaryrefslogtreecommitdiffstats
path: root/CGI.pl
diff options
context:
space:
mode:
authormkanat%kerio.com <>2005-03-05 09:18:47 +0100
committermkanat%kerio.com <>2005-03-05 09:18:47 +0100
commitec610fd673feb6d6e18d121b5e67aa3f87e7f4ea (patch)
treeb1d6fe9b10b89a30e2b1932d050d5678362f638a /CGI.pl
parente4b8b770b0229a0761a3ef5116c7fcad4e5352d5 (diff)
downloadbugzilla-ec610fd673feb6d6e18d121b5e67aa3f87e7f4ea.tar.gz
bugzilla-ec610fd673feb6d6e18d121b5e67aa3f87e7f4ea.tar.xz
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 'CGI.pl')
-rw-r--r--CGI.pl4
1 files changed, 2 insertions, 2 deletions
diff --git a/CGI.pl b/CGI.pl
index 69ec8f64f..d650ea08e 100644
--- a/CGI.pl
+++ b/CGI.pl
@@ -112,7 +112,7 @@ sub CheckFormField (\%$;\@) {
$field = $fieldname;
}
- ThrowCodeError("illegal_field", { field => $field }, "abort");
+ ThrowCodeError("illegal_field", { field => $field });
}
}
@@ -213,7 +213,7 @@ sub CheckEmailSyntax {
my ($addr) = (@_);
my $match = Param('emailregexp');
if ($addr !~ /$match/ || $addr =~ /[\\\(\)<>&,;:"\[\] \t\r\n]/) {
- ThrowUserError("illegal_email_address", { addr => $addr }, 'abort');
+ ThrowUserError("illegal_email_address", { addr => $addr });
}
}