Skip to content

Commit

Permalink
Crash on updating moderators when the list has no owneers sympa-commu…
Browse files Browse the repository at this point in the history
  • Loading branch information
ikedas committed Oct 25, 2018
1 parent 85e388d commit 79aa357
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/lib/Sympa/List/Users.pm
Original file line number Diff line number Diff line change
Expand Up @@ -72,7 +72,7 @@ use constant _global_validations => {
return if ($owner_domain =~ /^\s*$/);

# calculate updated owner list, including deletions
my @owner = map { $_->{'email'} } @{$self->get('owner')};
my @owner = map { $_->{'email'} } @{$self->get('owner') || []};
my $changes = $self->get_change('owner');

#use Data::Dumper;
Expand Down

0 comments on commit 79aa357

Please sign in to comment.