diff options
author | jeff <jeff> | 2010-01-17 01:05:55 +0000 |
---|---|---|
committer | jeff <jeff> | 2010-01-17 01:05:55 +0000 |
commit | 5bba35a52be0524c3ef72bde8b7ef781dac0c179 (patch) | |
tree | 36753d5e1d12ff5d03f643708b1e700f530c3147 | |
parent | 26221d593817e373f8edc2d31794154d3d543203 (diff) |
rest of work around bug in pre-perl5.10 which is at best noisy and at worst missorting
-rw-r--r-- | FS/FS/cust_pkg.pm | 2 |
1 files changed, 1 insertions, 1 deletions
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 } ); |