[freeside-commits] branch FREESIDE_4_BRANCH updated. 776d893a285a01a913c6e244bb6fe987c3602cdc
Ivan
ivan at 420.am
Tue Sep 12 22:13:11 PDT 2017
The branch, FREESIDE_4_BRANCH has been updated
via 776d893a285a01a913c6e244bb6fe987c3602cdc (commit)
from 15dec52394580fea370be5926ac5cd51ad13181c (commit)
Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.
- Log -----------------------------------------------------------------
commit 776d893a285a01a913c6e244bb6fe987c3602cdc
Author: Ivan Kohler <ivan at freeside.biz>
Date: Tue Sep 12 22:13:10 2017 -0700
spacing
diff --git a/FS/FS/part_event.pm b/FS/FS/part_event.pm
index 7aca656..2fc255c 100644
--- a/FS/FS/part_event.pm
+++ b/FS/FS/part_event.pm
@@ -582,9 +582,11 @@ sub actions {
my( $class, $eventtable ) = @_;
(
map { $_ => $actions{$_} }
- sort { $actions{$a}->{'default_weight'}<=>$actions{$b}->{'default_weight'} }
- # || $actions{$a}->{'description'} cmp $actions{$b}->{'description'} }
- $class->all_actions( $eventtable )
+ sort {
+ $actions{$a}->{'default_weight'} <=> $actions{$b}->{'default_weight'}
+ || $actions{$a}->{'description'} cmp $actions{$b}->{'description'}
+ }
+ $class->all_actions( $eventtable )
);
}
-----------------------------------------------------------------------
Summary of changes:
FS/FS/part_event.pm | 8 +++++---
1 file changed, 5 insertions(+), 3 deletions(-)
More information about the freeside-commits
mailing list