mirror of
https://codeberg.org/forgejo/forgejo.git
synced 2025-05-25 11:22:16 +00:00
Mirror fix on UI
This commit is contained in:
parent
a9e6d49dc6
commit
e10096ee2e
5 changed files with 8 additions and 4 deletions
|
@ -252,6 +252,7 @@ func Comment(ctx *middleware.Context, params martini.Params) {
|
|||
return
|
||||
}
|
||||
|
||||
// TODO: check collaborators
|
||||
// Check if issue owner changes the status of issue.
|
||||
var newStatus string
|
||||
if ctx.Repo.IsOwner || issue.PosterId == ctx.User.Id {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue