aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorgerv%gerv.net <>2002-09-13 05:51:42 +0000
committergerv%gerv.net <>2002-09-13 05:51:42 +0000
commit618851e70c753221a79942976523493b6c52fc71 (patch)
tree255ed3466db43e93d5f145f517253125f247fb9a /duplicates.cgi
parentBug 166698 - The error system's in a bit of a mess. This file was missed on t... (diff)
downloadbugzilla-618851e70c753221a79942976523493b6c52fc71.tar.gz
bugzilla-618851e70c753221a79942976523493b6c52fc71.tar.bz2
bugzilla-618851e70c753221a79942976523493b6c52fc71.zip
Bug 167978 - Fix Throw*Error l10n regressions and add a test to catch more. Patch by gerv; r=bbaetz.
Diffstat (limited to 'duplicates.cgi')
-rwxr-xr-xduplicates.cgi4
1 files changed, 2 insertions, 2 deletions
diff --git a/duplicates.cgi b/duplicates.cgi
index 285c65717..5196027ac 100755
--- a/duplicates.cgi
+++ b/duplicates.cgi
@@ -65,8 +65,8 @@ my $product_id;
if ($product) {
$product_id = get_product_id($product);
if (!$product_id) {
- ThrowUserError("The product <tt>" . html_quote($product) .
- "</tt> does not exist");
+ $vars->{'product'} = $product;
+ ThrowUserError("invalid_product_name");
}
}