Fixed error message
This commit is contained in:
parent
5e20447c66
commit
2058f4e5c5
|
|
@ -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
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user