[freeside-commits] freeside/FS/FS cust_pkg.pm, 1.139.2.9, 1.139.2.10

Jeff Finucane,420,, jeff at wavetail.420.am
Sat Jan 16 17:05:57 PST 2010


Update of /home/cvs/cvsroot/freeside/FS/FS
In directory wavetail.420.am:/tmp/cvs-serv16020

Modified Files:
      Tag: FREESIDE_1_9_BRANCH
	cust_pkg.pm 
Log Message:
rest of work around bug in pre-perl5.10 which is at best noisy and at worst missorting

Index: cust_pkg.pm
===================================================================
RCS file: /home/cvs/cvsroot/freeside/FS/FS/cust_pkg.pm,v
retrieving revision 1.139.2.9
retrieving revision 1.139.2.10
diff -u -d -r1.139.2.9 -r1.139.2.10
--- cust_pkg.pm	17 Jan 2010 00:22:23 -0000	1.139.2.9
+++ cust_pkg.pm	17 Jan 2010 01:05:55 -0000	1.139.2.10
@@ -1539,7 +1539,7 @@
     sub ($$) { my ($a, $b) = @_; $b->[1] cmp $a->[1]  or  $a->[2] <=> $b->[2] };
 
   map  { $_->[0] }
-  sort { $b->[1] cmp $a->[1]  or  $a->[2] <=> $b->[2] } 
+  sort $sort
   map {
         my $pkg_svc = qsearchs( 'pkg_svc', { 'pkgpart' => $self->pkgpart,
                                              'svcpart' => $_->svcpart     } );



More information about the freeside-commits mailing list