summaryrefslogtreecommitdiffstats
path: root/process_bug.cgi
diff options
context:
space:
mode:
authorgerv%gerv.net <>2002-08-15 15:43:44 +0200
committergerv%gerv.net <>2002-08-15 15:43:44 +0200
commit24f062186a9b6dcdcefa79c12ae82b95243c7e41 (patch)
tree2f3234eebadd94b40fcfc837e4b42ea3341db219 /process_bug.cgi
parent684246432c854ffab436304470545f1da46eae07 (diff)
downloadbugzilla-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-xprocess_bug.cgi6
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");
}