Fixed bug in es_release_notes script

This commit is contained in:
Clinton Gormley 2014-09-12 10:38:43 +02:00
parent 1bd2a491d1
commit ea94535557
1 changed files with 1 additions and 2 deletions

View File

@ -136,8 +136,7 @@ sub fetch_issues {
next unless $issue->{pull_request}; next unless $issue->{pull_request};
for ( $issue->{body} =~ m{(?:#|${User_Repo}issues/)(\d+)}g ) { for ( $issue->{body} =~ m{(?:#|${User_Repo}issues/)(\d+)}g ) {
$seen{$_}++; $seen{$_}++;
$issue->{related_issues} ||= []; push @{ $issue->{related_issues} }, $_;
push @{$issue}{related_issues}, $_;
} }
} }
$page++; $page++;