diff options
Diffstat (limited to 'collectstats.pl')
-rwxr-xr-x | collectstats.pl | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/collectstats.pl b/collectstats.pl index 9367ebc8e..9325b0540 100755 --- a/collectstats.pl +++ b/collectstats.pl @@ -284,8 +284,8 @@ sub regenerate_stats { my @values = (); if ($product ne '-All-') { - $and_product = q{AND products.name = ?}; - $from_product = q{INNER JOIN products + $and_product = q{ AND products.name = ?}; + $from_product = q{ INNER JOIN products ON bugs.product_id = products.id}; push (@values, $product); } |