diff options
author | timeless%mozdev.org <> | 2003-10-16 07:48:09 +0200 |
---|---|---|
committer | timeless%mozdev.org <> | 2003-10-16 07:48:09 +0200 |
commit | fa2c116330bd2023dc14a09c0e8a986d62dc6be0 (patch) | |
tree | 3f8576b70667513d18f781921db060b8b39f161f /CGI.pl | |
parent | c07813cf195d2934580f9d6f3caa4d819fb62f4b (diff) | |
download | bugzilla-fa2c116330bd2023dc14a09c0e8a986d62dc6be0.tar.gz bugzilla-fa2c116330bd2023dc14a09c0e8a986d62dc6be0.tar.xz |
Bug 108528 - knob is not defined doesn't explain to 2001110503 users what to do
patch by caduvall@glue.umd.edu r=timeless a=justdave
Diffstat (limited to 'CGI.pl')
-rw-r--r-- | CGI.pl | 3 |
1 files changed, 2 insertions, 1 deletions
@@ -111,10 +111,11 @@ 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 }); + ThrowCodeError("undefined_field", { field => $fieldname, info => $info }); } } |