diff --git a/dev-tools/es_release_notes.pl b/dev-tools/es_release_notes.pl index 132e3645cbf..be008d2e3ac 100644 --- a/dev-tools/es_release_notes.pl +++ b/dev-tools/es_release_notes.pl @@ -136,8 +136,7 @@ sub fetch_issues { next unless $issue->{pull_request}; for ( $issue->{body} =~ m{(?:#|${User_Repo}issues/)(\d+)}g ) { $seen{$_}++; - $issue->{related_issues} ||= []; - push @{$issue}{related_issues}, $_; + push @{ $issue->{related_issues} }, $_; } } $page++;