From 1b6859e5900403b984f75050d2939382b32d14d2 Mon Sep 17 00:00:00 2001 From: Ivan Kohler Date: Tue, 12 Sep 2017 22:13:08 -0700 Subject: [PATCH] spacing --- FS/FS/part_event.pm | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/FS/FS/part_event.pm b/FS/FS/part_event.pm index 1c2389989..ded57154f 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 ) ); } -- 2.11.0