mirror of
https://github.com/gitbucket/gitbucket.git
synced 2025-11-06 05:25:50 +01:00
(refs #488) Fix bug for refer comment.
This commit is contained in:
@@ -126,8 +126,7 @@ trait IssuesControllerBase extends ControllerBase {
|
|||||||
// update issue
|
// update issue
|
||||||
updateIssue(owner, name, issue.issueId, title, issue.content)
|
updateIssue(owner, name, issue.issueId, title, issue.content)
|
||||||
// extract references and create refer comment
|
// extract references and create refer comment
|
||||||
// TODO Confirmation(about "issue" parameter)
|
createReferComment(owner, name, issue.copy(title = title), title)
|
||||||
createReferComment(owner, name, issue, title)
|
|
||||||
|
|
||||||
redirect(s"/${owner}/${name}/issues/_data/${issue.issueId}")
|
redirect(s"/${owner}/${name}/issues/_data/${issue.issueId}")
|
||||||
} else Unauthorized
|
} else Unauthorized
|
||||||
|
|||||||
Reference in New Issue
Block a user