From 8837967f9754641c7cf4a9bf2a5bc6e73244df15 Mon Sep 17 00:00:00 2001 From: Byron Jones Date: Mon, 30 Apr 2012 14:43:29 +0800 Subject: Bug 749074: Throw an error message instead of syntax error on invalid search type operators r=LpSolit,a=LpSolit --- template/en/default/global/code-error.html.tmpl | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'template/en') diff --git a/template/en/default/global/code-error.html.tmpl b/template/en/default/global/code-error.html.tmpl index 19d062841..9fd326051 100644 --- a/template/en/default/global/code-error.html.tmpl +++ b/template/en/default/global/code-error.html.tmpl @@ -453,6 +453,10 @@ [% ELSIF error == "invalid_post_bug_submit_action" %] Invalid setting for post_bug_submit_action + [% ELSIF error == "search_field_operator_unsupported" %] + [% terms.Bugzilla %] does not support the search type + "[% operator FILTER html %]". + [% ELSE %] [%# Try to find hooked error messages %] [% error_message = Hook.process("errors") %] -- cgit v1.2.3-24-g4f1b