From: jeff Date: Sun, 17 Jan 2010 01:05:55 +0000 (+0000) Subject: rest of work around bug in pre-perl5.10 which is at best noisy and at worst missorting X-Git-Tag: freeside_1_9_2~121 X-Git-Url: http://git.freeside.biz/gitweb/?a=commitdiff_plain;h=5bba35a52be0524c3ef72bde8b7ef781dac0c179;p=freeside.git rest of work around bug in pre-perl5.10 which is at best noisy and at worst missorting --- diff --git a/FS/FS/cust_pkg.pm b/FS/FS/cust_pkg.pm index 0164fa6ac..8415d629d 100644 --- a/FS/FS/cust_pkg.pm +++ b/FS/FS/cust_pkg.pm @@ -1539,7 +1539,7 @@ sub _sort_cust_svc { 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 } );