From f80035ed6dcd4517dbcff214629bef5fdf5897fb Mon Sep 17 00:00:00 2001 From: Byron Jones Date: Mon, 25 Feb 2013 22:45:52 +0800 Subject: fix butchered dashboard code --- extensions/ProductDashboard/lib/Queries.pm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'extensions/ProductDashboard') 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'; -- cgit v1.2.3-24-g4f1b