summaryrefslogtreecommitdiffstats
path: root/CGI.pl
diff options
context:
space:
mode:
authorjustdave%syndicomm.com <>2003-10-17 03:26:09 +0200
committerjustdave%syndicomm.com <>2003-10-17 03:26:09 +0200
commit7f892832fb89f60f3228d22e393fa6c823be12b6 (patch)
tree0188138a96abe5af0f736357df23acbfaabf7baa /CGI.pl
parent61ce0b2c0f624e15ed240ef19d46e540949cd4af (diff)
downloadbugzilla-7f892832fb89f60f3228d22e393fa6c823be12b6.tar.gz
bugzilla-7f892832fb89f60f3228d22e393fa6c823be12b6.tar.xz
Backing out patch from bug 108528 - failed to take i10n concerns into account
Diffstat (limited to 'CGI.pl')
-rw-r--r--CGI.pl3
1 files changed, 1 insertions, 2 deletions
diff --git a/CGI.pl b/CGI.pl
index 06db6fe55..bcd9a7f90 100644
--- a/CGI.pl
+++ b/CGI.pl
@@ -111,11 +111,10 @@ sub CheckFormField (\%$;\@) {
sub CheckFormFieldDefined (\%$) {
my ($formRef, # a reference to the form to check (a hash)
$fieldname, # the fieldname to check
- $info, # (optional) error message to give
) = @_;
if (!defined $formRef->{$fieldname}) {
- ThrowCodeError("undefined_field", { field => $fieldname, info => $info });
+ ThrowCodeError("undefined_field", { field => $fieldname });
}
}