projects
/
freeside.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
26221d5
)
rest of work around bug in pre-perl5.10 which is at best noisy and at worst missorting
author
jeff
<jeff>
Sun, 17 Jan 2010 01:05:55 +0000
(
01:05
+0000)
committer
jeff
<jeff>
Sun, 17 Jan 2010 01:05:55 +0000
(
01:05
+0000)
FS/FS/cust_pkg.pm
patch
|
blob
|
history
diff --git
a/FS/FS/cust_pkg.pm
b/FS/FS/cust_pkg.pm
index
0164fa6
..
8415d62
100644
(file)
--- 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 } );