Skip to content

Commit

Permalink
Merge pull request #457 from ikedas/issue-456_trial2 by ikedas
Browse files Browse the repository at this point in the history
Sympa 6.2.36: Crash of web interface when editing list moderators #456
  • Loading branch information
ikedas authored Oct 26, 2018
2 parents 85e388d + 396f666 commit 9263ffa
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions src/lib/Sympa/List/Users.pm
Original file line number Diff line number Diff line change
Expand Up @@ -49,6 +49,9 @@ use constant _global_validations => {
my $self = shift;
my $new = shift;

# Workaround: Skip validation if owner parameter was not loaded.
return unless $self->get('owner');

my $list = $self->{context};
my $config =
Sympa::List::Config->new($list, config => $list->{'admin'});
Expand Down

0 comments on commit 9263ffa

Please sign in to comment.