Fixed error message

This commit is contained in:
kolaente 2017-12-29 15:37:19 +01:00 committed by Konrad
parent 5e20447c66
commit 2058f4e5c5
No known key found for this signature in database
GPG Key ID: F40E70337AB24C9B

View File

@ -26,7 +26,7 @@ func AddDependency(ctx *context.Context) {
// Check if the Repo is allowed to have dependencies
if !ctx.Repo.CanCreateIssueDependencies(issue, ctx.User) {
ctx.Handle(404, "MustEnableIssueDependencies", nil)
ctx.Handle(404, "NotAllowedToCreateIssueDependencies", nil)
return
}