projects
/
freeside.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
c27c62c
)
noise reduction
author
jeff
<jeff>
Wed, 30 Dec 2009 02:26:15 +0000
(
02:26
+0000)
committer
jeff
<jeff>
Wed, 30 Dec 2009 02:26:15 +0000
(
02:26
+0000)
FS/FS/cust_main.pm
patch
|
blob
|
history
diff --git
a/FS/FS/cust_main.pm
b/FS/FS/cust_main.pm
index
329b461
..
de83625
100644
(file)
--- a/
FS/FS/cust_main.pm
+++ b/
FS/FS/cust_main.pm
@@
-2071,7
+2071,7
@@
sub _cust_pkg {
# This should be generalized to use config options to determine order.
sub sort_packages {
- my $locationsort =
$a->locationnum <=> $b->locationnum
;
+ my $locationsort =
( $a->locationnum || 0 ) <=> ( $b->locationnum || 0 )
;
return $locationsort if $locationsort;
if ( $a->get('cancel') xor $b->get('cancel') ) {