summaryrefslogtreecommitdiffstats
path: root/chart.cgi
diff options
context:
space:
mode:
authorFrédéric Buclin <LpSolit@gmail.com>2010-10-28 17:20:46 +0200
committerFrédéric Buclin <LpSolit@gmail.com>2010-10-28 17:20:46 +0200
commit5ba4b1aff6564126b3d0b1e7741b992d178d8f66 (patch)
treed61d32e7a433608eda5d62871eccafe23e931d43 /chart.cgi
parenta6041007c544e7b2a8ae703c8e45e635e2ace991 (diff)
downloadbugzilla-5ba4b1aff6564126b3d0b1e7741b992d178d8f66.tar.gz
bugzilla-5ba4b1aff6564126b3d0b1e7741b992d178d8f66.tar.xz
Bug 607966: Use of qw(...) as parentheses is deprecated since Perl 5.13.5
r=gerv a=LpSolit
Diffstat (limited to 'chart.cgi')
-rwxr-xr-xchart.cgi2
1 files changed, 1 insertions, 1 deletions
diff --git a/chart.cgi b/chart.cgi
index dcd83cb01..12ef8d834 100755
--- a/chart.cgi
+++ b/chart.cgi
@@ -200,7 +200,7 @@ elsif ($action eq "delete") {
$series->remove_from_db();
# Remove (sub)categories which no longer have any series.
- foreach my $cat qw(category subcategory) {
+ foreach my $cat (qw(category subcategory)) {
my $is_used = $dbh->selectrow_array("SELECT COUNT(*) FROM series WHERE $cat = ?",
undef, $series->{"${cat}_id"});
if (!$is_used) {