Skip to content

Commit

Permalink
Perltidy
Browse files Browse the repository at this point in the history
  • Loading branch information
dlglin committed Oct 14, 2024
1 parent 1cba711 commit a7d4652
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions lib/WeBWorK/ConfigObject/permission_checkboxlist.pm
Original file line number Diff line number Diff line change
Expand Up @@ -52,8 +52,8 @@ sub comparison_value ($self, $val) {
}

sub entry_widget ($self, $default, $is_secret = 0) {
my $c = $self->{c};
my $userRoles = $self->{c}->ce->{userRoles};
my $c = $self->{c};
my $userRoles = $self->{c}->ce->{userRoles};
$default = role_and_above($userRoles, $default) unless ref($default) eq 'ARRAY';
return $c->c(
map {
Expand All @@ -73,7 +73,7 @@ sub entry_widget ($self, $default, $is_secret = 0) {
)->join('')
)
)
} grep { $_ ne 'nobody' } sort { $userRoles->{$a} <=> $userRoles->{$b} } keys(%$userRoles)
} grep { $_ ne 'nobody' } sort { $userRoles->{$a} <=> $userRoles->{$b} } keys(%$userRoles)
)->join('');
}

Expand Down

0 comments on commit a7d4652

Please sign in to comment.