diff options
author | lpsolit%gmail.com <> | 2007-08-21 01:04:19 +0200 |
---|---|---|
committer | lpsolit%gmail.com <> | 2007-08-21 01:04:19 +0200 |
commit | 5818051fbeb4aec81dd2b9ab861d149ee2f2e10f (patch) | |
tree | 6a09df91fb480c70d8b177e7fe0434c5b7447c65 /Bugzilla | |
parent | ae89fa815ac5b6ee314c9f1194179db1c47f5abc (diff) | |
download | bugzilla-5818051fbeb4aec81dd2b9ab861d149ee2f2e10f.tar.gz bugzilla-5818051fbeb4aec81dd2b9ab861d149ee2f2e10f.tar.xz |
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.pm | 2 |
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; } |