[Rt-commit] r15096 - in rt/3.8/branches/3.8.1-releng: .

falcone at bestpractical.com falcone at bestpractical.com
Tue Aug 12 19:28:32 EDT 2008


Author: falcone
Date: Tue Aug 12 19:28:31 2008
New Revision: 15096

Modified:
   rt/3.8/branches/3.8.1-releng/   (props changed)
   rt/3.8/branches/3.8.1-releng/lib/RT/Interface/Web/Request.pm

Log:
- Merge //mirror/bps-public/rt/3.8/trunk to //mirror/bps-public/rt/3.8/branches/3.8.1-releng

Modified: rt/3.8/branches/3.8.1-releng/lib/RT/Interface/Web/Request.pm
==============================================================================
--- rt/3.8/branches/3.8.1-releng/lib/RT/Interface/Web/Request.pm	(original)
+++ rt/3.8/branches/3.8.1-releng/lib/RT/Interface/Web/Request.pm	Tue Aug 12 19:28:31 2008
@@ -172,9 +172,9 @@
     }
 
     my @rv;
-    # we don't know why but we have to filter undefs as they end up in the list
-    push @rv, scalar $self->comp( $_, %args )
-        foreach grep defined && length, @$callbacks;
+    foreach my $cb ( @$callbacks ) {
+        push @rv, scalar $self->comp( $cb, %args );
+    }
     return @rv;
 }
 }


More information about the Rt-commit mailing list