diff options
author | gerv%gerv.net <> | 2002-08-15 15:43:44 +0200 |
---|---|---|
committer | gerv%gerv.net <> | 2002-08-15 15:43:44 +0200 |
commit | 24f062186a9b6dcdcefa79c12ae82b95243c7e41 (patch) | |
tree | 2f3234eebadd94b40fcfc837e4b42ea3341db219 /process_bug.cgi | |
parent | 684246432c854ffab436304470545f1da46eae07 (diff) | |
download | bugzilla-24f062186a9b6dcdcefa79c12ae82b95243c7e41.tar.gz bugzilla-24f062186a9b6dcdcefa79c12ae82b95243c7e41.tar.xz |
Bug 162066 - Fix callers of ThrowCodeError to use messages in code-error.html.tmpl. Patch by gerv; r=bbaetz.
Diffstat (limited to 'process_bug.cgi')
-rwxr-xr-x | process_bug.cgi | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/process_bug.cgi b/process_bug.cgi index c4a9af033..f1b074268 100755 --- a/process_bug.cgi +++ b/process_bug.cgi @@ -805,9 +805,9 @@ SWITCH: for ($::FORM{'knob'}) { last SWITCH; }; - # default - my $escaped_knob = html_quote($::FORM{'knob'}); - ThrowCodeError("Unknown action $escaped_knob!\n"); + + $vars->{'action'} = $::FORM{'knob'}; + ThrowCodeError("unknown_action"); } |