summaryrefslogtreecommitdiff
path: root/FS/FS/part_event.pm
diff options
context:
space:
mode:
authorIvan Kohler <ivan@freeside.biz>2017-09-12 22:13:08 -0700
committerIvan Kohler <ivan@freeside.biz>2017-09-12 22:13:08 -0700
commit1b6859e5900403b984f75050d2939382b32d14d2 (patch)
treec06e3834a72f6c05ab6101b336c136ecac4c414b /FS/FS/part_event.pm
parent8ba643ad59f87ca7acb4d0e9770288e02bcbaf8a (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 1c23899..ded5715 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 )
);
}