mirror of
				https://github.com/go-gitea/gitea.git
				synced 2025-10-29 10:57:44 +09:00 
			
		
		
		
	fix click create pull request button 404 (#2859)
This commit is contained in:
		| @@ -424,6 +424,7 @@ func RepoAssignment() macaron.Handler { | ||||
| 				return | ||||
| 			} | ||||
| 		} | ||||
| 		ctx.Data["IsForkedRepo"] = repo.IsFork | ||||
|  | ||||
| 		// People who have push access or have forked repository can propose a new pull request. | ||||
| 		if ctx.Repo.IsWriter() || (ctx.IsSigned && ctx.User.HasForkedRepo(ctx.Repo.Repository.ID)) { | ||||
|   | ||||
		Reference in New Issue
	
	Block a user