diff options
author | gerv%gerv.net <> | 2002-09-13 05:51:42 +0000 |
---|---|---|
committer | gerv%gerv.net <> | 2002-09-13 05:51:42 +0000 |
commit | 618851e70c753221a79942976523493b6c52fc71 (patch) | |
tree | 255ed3466db43e93d5f145f517253125f247fb9a /post_bug.cgi | |
parent | c5d6844efc09646e5233891badb68fd7ce6f8df7 (diff) | |
download | bugs-618851e70c753221a79942976523493b6c52fc71.tar bugs-618851e70c753221a79942976523493b6c52fc71.tar.gz bugs-618851e70c753221a79942976523493b6c52fc71.tar.bz2 bugs-618851e70c753221a79942976523493b6c52fc71.tar.xz bugs-618851e70c753221a79942976523493b6c52fc71.zip |
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-x | post_bug.cgi | 4 |
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 |