diff options
Diffstat (limited to 'CGI.pl')
-rw-r--r-- | CGI.pl | 3 |
1 files changed, 1 insertions, 2 deletions
@@ -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 }); } } |