mirror of
				https://github.com/go-gitea/gitea.git
				synced 2025-10-31 19:45:25 +01:00 
			
		
		
		
	Merge pull request #331 from nuss-justin/dev
Use :index instead of :issue in UpdateIssueMilestone
This commit is contained in:
		
						commit
						27a51f5bcc
					
				| @ -565,7 +565,7 @@ func UpdateIssueMilestone(ctx *middleware.Context) { | ||||
| 		return | ||||
| 	} | ||||
| 
 | ||||
| 	issueId := com.StrTo(ctx.Params(":issue")).MustInt64() | ||||
| 	issueId := com.StrTo(ctx.Params(":index")).MustInt64() | ||||
| 	if issueId == 0 { | ||||
| 		ctx.Error(404) | ||||
| 		return | ||||
|  | ||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user