[Bps-public-commit] r15961 - in Prophet/trunk: .

spang at bestpractical.com spang at bestpractical.com
Sat Sep 13 17:18:29 EDT 2008


Author: spang
Date: Sat Sep 13 17:18:29 2008
New Revision: 15961

Modified:
   Prophet/trunk/   (props changed)
   Prophet/trunk/lib/Prophet/CLI/Command/Search.pm

Log:
 r49785 at loki:  spang | 2008-09-13 16:15:08 -0400
 pass ->items to sort_routine by reference


Modified: Prophet/trunk/lib/Prophet/CLI/Command/Search.pm
==============================================================================
--- Prophet/trunk/lib/Prophet/CLI/Command/Search.pm	(original)
+++ Prophet/trunk/lib/Prophet/CLI/Command/Search.pm	Sat Sep 13 17:18:29 2008
@@ -117,7 +117,7 @@
 
     my $sort_routine = $self->sort_routine;
 
-    for ( &$sort_routine($records->items) ) {
+    for ( &$sort_routine( scalar $records->items ) ) {
             print $_->format_summary . "\n";
     }
 }



More information about the Bps-public-commit mailing list