summaryrefslogtreecommitdiffstats
path: root/post_bug.cgi
diff options
context:
space:
mode:
authorgerv%gerv.net <>2002-09-13 07:51:42 +0200
committergerv%gerv.net <>2002-09-13 07:51:42 +0200
commit618851e70c753221a79942976523493b6c52fc71 (patch)
tree255ed3466db43e93d5f145f517253125f247fb9a /post_bug.cgi
parentc5d6844efc09646e5233891badb68fd7ce6f8df7 (diff)
downloadbugzilla-618851e70c753221a79942976523493b6c52fc71.tar.gz
bugzilla-618851e70c753221a79942976523493b6c52fc71.tar.xz
Bug 167978 - Fix Throw*Error l10n regressions and add a test to catch more. Patch by gerv; r=bbaetz.
Diffstat (limited to 'post_bug.cgi')
-rwxr-xr-xpost_bug.cgi4
1 files changed, 2 insertions, 2 deletions
diff --git a/post_bug.cgi b/post_bug.cgi
index bab55a9ac..b7fdf66d5 100755
--- a/post_bug.cgi
+++ b/post_bug.cgi
@@ -71,8 +71,8 @@ ValidateComment($comment);
my $product = $::FORM{'product'};
my $product_id = get_product_id($product);
if (!$product_id) {
- ThrowUserError("Sorry, the product <tt>" . html_quote($product) .
- "</tt> does not exist");
+ $vars->{'product'} = $product;
+ ThrowUserError("invalid_product_name");
}
# Set cookies