diff options
author | gerv%gerv.net <> | 2002-08-16 06:01:20 +0000 |
---|---|---|
committer | gerv%gerv.net <> | 2002-08-16 06:01:20 +0000 |
commit | e8584108d410cc2cf63124d88d640aff6821b975 (patch) | |
tree | efea1a1466fa2fd5987e87c90134274647882e55 /bug_form.pl | |
parent | de177c6bdf5d413b4fdb860970e422fadc943669 (diff) | |
download | bugs-e8584108d410cc2cf63124d88d640aff6821b975.tar bugs-e8584108d410cc2cf63124d88d640aff6821b975.tar.gz bugs-e8584108d410cc2cf63124d88d640aff6821b975.tar.bz2 bugs-e8584108d410cc2cf63124d88d640aff6821b975.tar.xz bugs-e8584108d410cc2cf63124d88d640aff6821b975.zip |
Bug 162066 - Fix callers of ThrowCodeError to use messages in code-error.html.tmpl. Patch by gerv; r=bbaetz.
Diffstat (limited to 'bug_form.pl')
-rw-r--r-- | bug_form.pl | 3 |
1 files changed, 2 insertions, 1 deletions
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; |