summaryrefslogtreecommitdiff
path: root/FS/FS/part_event.pm
diff options
context:
space:
mode:
authorIvan Kohler <ivan@freeside.biz>2017-09-12 22:13:10 -0700
committerIvan Kohler <ivan@freeside.biz>2017-09-12 22:13:10 -0700
commit776d893a285a01a913c6e244bb6fe987c3602cdc (patch)
tree1852f5549976e9707f833cbd67713b54b8c5bc49 /FS/FS/part_event.pm
parent15dec52394580fea370be5926ac5cd51ad13181c (diff)
spacing
Diffstat (limited to 'FS/FS/part_event.pm')
-rw-r--r--FS/FS/part_event.pm8
1 files changed, 5 insertions, 3 deletions
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 )
);
}