aboutsummaryrefslogtreecommitdiffstats
path: root/Bugzilla
diff options
context:
space:
mode:
authorlpsolit%gmail.com <>2007-08-20 23:04:19 +0000
committerlpsolit%gmail.com <>2007-08-20 23:04:19 +0000
commit5818051fbeb4aec81dd2b9ab861d149ee2f2e10f (patch)
tree6a09df91fb480c70d8b177e7fe0434c5b7447c65 /Bugzilla
parentae89fa815ac5b6ee314c9f1194179db1c47f5abc (diff)
downloadbugs-5818051fbeb4aec81dd2b9ab861d149ee2f2e10f.tar
bugs-5818051fbeb4aec81dd2b9ab861d149ee2f2e10f.tar.gz
bugs-5818051fbeb4aec81dd2b9ab861d149ee2f2e10f.tar.bz2
bugs-5818051fbeb4aec81dd2b9ab861d149ee2f2e10f.tar.xz
bugs-5818051fbeb4aec81dd2b9ab861d149ee2f2e10f.zip
Bug 257351: collectstats.pl dies if an invalid series is defined - Patch by Frédéric Buclin <LpSolit@gmail.com> r/a=mkanat
Diffstat (limited to 'Bugzilla')
-rw-r--r--Bugzilla/DB.pm2
1 files changed, 1 insertions, 1 deletions
diff --git a/Bugzilla/DB.pm b/Bugzilla/DB.pm
index b43b237eb..7384e7b5f 100644
--- a/Bugzilla/DB.pm
+++ b/Bugzilla/DB.pm
@@ -324,7 +324,7 @@ sub sql_group_by {
my ($self, $needed_columns, $optional_columns) = @_;
my $expression = "GROUP BY $needed_columns";
- $expression .= ", " . $optional_columns if defined($optional_columns);
+ $expression .= ", " . $optional_columns if $optional_columns;
return $expression;
}