diff options
author | jeff <jeff> | 2009-12-30 02:26:15 +0000 |
---|---|---|
committer | jeff <jeff> | 2009-12-30 02:26:15 +0000 |
commit | 9048d8cf03126a412bdaeed9383dad48bc6f03a3 (patch) | |
tree | 9584196abc3be9d1d2553b03c4cbc8c579e714f5 /FS | |
parent | c27c62c2fe1c79811f389cc0d17c330157888d01 (diff) |
noise reduction
Diffstat (limited to 'FS')
-rw-r--r-- | FS/FS/cust_main.pm | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/FS/FS/cust_main.pm b/FS/FS/cust_main.pm index 329b461..de83625 100644 --- 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') ) { |