Bug 162066 - Fix callers of ThrowCodeError to use messages in code-error.html.tmpl. Patch by gerv; r=bbaetz.
git-svn-id: svn://10.0.0.236/trunk@127354 18797224-902f-48f8-a5cc-f745e15eee43
This commit is contained in:
@@ -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");
|
||||
}
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user