Skip to content

Commit

Permalink
MBS-9313: Fix auto-editing first event of release
Browse files Browse the repository at this point in the history
  • Loading branch information
yvanzo committed Oct 19, 2017
1 parent dfaa5f6 commit 5ee33b1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/MusicBrainz/Server/Edit/Release/Edit.pm
Original file line number Diff line number Diff line change
Expand Up @@ -340,7 +340,7 @@ around allow_auto_edit => sub {
return 0 if defined $self->data->{old}{language_id};
return 0 if defined $self->data->{old}{script_id};

return 0 if defined $self->data->{old}{events};
return 0 if defined $self->data->{old}{events} && scalar @{ $self->data->{old}{events} } > 0;

return 0 if exists $self->data->{old}{release_group_id};

Expand Down

0 comments on commit 5ee33b1

Please sign in to comment.