summaryrefslogtreecommitdiffstats
path: root/extensions/ProductDashboard
diff options
context:
space:
mode:
authorByron Jones <bjones@mozilla.com>2013-02-25 15:45:52 +0100
committerByron Jones <bjones@mozilla.com>2013-02-25 15:45:52 +0100
commitf80035ed6dcd4517dbcff214629bef5fdf5897fb (patch)
treec790091e42321c3606c2e995fd26d57cb143590c /extensions/ProductDashboard
parent8e51fa60a4fb34b4c73c6266f1d0b4e0b86fea6d (diff)
downloadbugzilla-f80035ed6dcd4517dbcff214629bef5fdf5897fb.tar.gz
bugzilla-f80035ed6dcd4517dbcff214629bef5fdf5897fb.tar.xz
fix butchered dashboard code
Diffstat (limited to 'extensions/ProductDashboard')
-rw-r--r--extensions/ProductDashboard/lib/Queries.pm2
1 files changed, 1 insertions, 1 deletions
diff --git a/extensions/ProductDashboard/lib/Queries.pm b/extensions/ProductDashboard/lib/Queries.pm
index 041cb341e..15d2b8e9e 100644
--- a/extensions/ProductDashboard/lib/Queries.pm
+++ b/extensions/ProductDashboard/lib/Queries.pm
@@ -163,7 +163,7 @@ sub by_severity {
sub by_severity {
my ($product, $bug_status) = @_;
my $dbh = Bugzilla->dbh;
- y $extra;
+ my $extra = '';
$extra = "AND bugs.bug_status IN (" . join(',', quoted_open_states()) . ")" if $bug_status eq 'open';
$extra = "AND bugs.bug_status IN (" . join(',', quoted_closed_states()) . ")" if $bug_status eq 'closed';