diff options
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; |