From e8584108d410cc2cf63124d88d640aff6821b975 Mon Sep 17 00:00:00 2001 From: "gerv%gerv.net" <> Date: Fri, 16 Aug 2002 06:01:20 +0000 Subject: Bug 162066 - Fix callers of ThrowCodeError to use messages in code-error.html.tmpl. Patch by gerv; r=bbaetz. --- bug_form.pl | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'bug_form.pl') diff --git a/bug_form.pl b/bug_form.pl index b04208bdf..c4d623e12 100644 --- a/bug_form.pl +++ b/bug_form.pl @@ -96,7 +96,8 @@ sub show_bug { # The caller is meant to have checked this. Abort here so that # we don't get obscure SQL errors, below if (!MoreSQLData()) { - ThrowCodeError("No data when fetching bug $id"); + $vars->{'bug_id'} = $id; + ThrowCodeError("no_bug_data"); } my $value; -- cgit v1.2.3-24-g4f1b