From: Ivan Kohler Date: Wed, 13 Sep 2017 05:13:10 +0000 (-0700) Subject: spacing X-Git-Url: http://git.freeside.biz/gitweb/?a=commitdiff_plain;h=776d893a285a01a913c6e244bb6fe987c3602cdc;p=freeside.git spacing --- diff --git a/FS/FS/part_event.pm b/FS/FS/part_event.pm index 7aca65652..2fc255c89 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 ) ); }