diff options
| author | jeff <jeff> | 2009-12-30 02:27:18 +0000 | 
|---|---|---|
| committer | jeff <jeff> | 2009-12-30 02:27:18 +0000 | 
| commit | d3338477cffe63da1395721f91e8928fda34afd6 (patch) | |
| tree | 50bd3aa16d1acff6b81528746b2944544cd749c2 | |
| parent | bc7e4182153cbe1bfbd1cd2c4fd235f43ca3bf2c (diff) | |
noise reduction
| -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 daced7b49..c5e5ba0e6 100644 --- a/FS/FS/cust_main.pm +++ b/FS/FS/cust_main.pm @@ -2069,7 +2069,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') ) { | 
