From d7ac9727bb5046118915cbb26b2dac1b7b27c9d4 Mon Sep 17 00:00:00 2001 From: Lunny Xiao Date: Fri, 22 Nov 2019 01:08:42 +0800 Subject: Move merge actions to notification (#9024) * Move merge actions to notification * Add missing mail notification --- models/pull.go | 3 +++ 1 file changed, 3 insertions(+) (limited to 'models/pull.go') diff --git a/models/pull.go b/models/pull.go index b25c52571d..174faee97a 100644 --- a/models/pull.go +++ b/models/pull.go @@ -152,6 +152,9 @@ func (pr *PullRequest) loadIssue(e Engine) (err error) { } pr.Issue, err = getIssueByID(e, pr.IssueID) + if err == nil { + pr.Issue.PullRequest = pr + } return err } -- cgit v1.2.3