aboutsummaryrefslogtreecommitdiffstats
path: root/post_bug.cgi
diff options
context:
space:
mode:
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