[Rt-commit] rt branch, 3.8-trunk, updated. d48f87625bb39b459370c11711f7e68fddb07ca2

Ruslan Zakirov ruz at bestpractical.com
Tue Aug 11 09:27:12 EDT 2009


The branch, 3.8-trunk has been updated
       via  d48f87625bb39b459370c11711f7e68fddb07ca2 (commit)
      from  81e3b5f7374fd9298b80ce0eefb2d306e3b9bd03 (commit)

Summary of changes:
 lib/RT/Report/Tickets.pm |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

- Log -----------------------------------------------------------------
commit d48f87625bb39b459370c11711f7e68fddb07ca2
Author: Ruslan Zakirov <Ruslan.Zakirov at gmail.com>
Date:   Tue Aug 11 17:26:03 2009 +0400

    * it should be "@xxx = map ..." instead of "@xxx, map"

diff --git a/lib/RT/Report/Tickets.pm b/lib/RT/Report/Tickets.pm
index 349216e..c539ab1 100644
--- a/lib/RT/Report/Tickets.pm
+++ b/lib/RT/Report/Tickets.pm
@@ -140,7 +140,7 @@ sub GroupBy {
     my $self = shift;
     my @args = ref $_[0]? @_ : { @_ };
 
-    @{ $self->{'_group_by_field'} ||= [] }, map $_->{'FIELD'}, @args;
+    @{ $self->{'_group_by_field'} ||= [] } = map $_->{'FIELD'}, @args;
     $_ = { $self->_FieldToFunction( %$_ ) } foreach @args;
 
     $self->SUPER::GroupBy( @args );

-----------------------------------------------------------------------


More information about the Rt-commit mailing list