diff --git a/routers/web/repo/issue_parent.go b/routers/web/repo/issue_parent.go index 355d5272cc..364c06efce 100644 --- a/routers/web/repo/issue_parent.go +++ b/routers/web/repo/issue_parent.go @@ -104,7 +104,7 @@ func RemoveParent(ctx *context.Context) { case "child": parentType = models.ParentTypeChild default: - ctx.Error(http.StatusBadRequest, "GetDependecyType") + ctx.Error(http.StatusBadRequest, "GetParentType") return } diff --git a/templates/repo/issue/view_content/sidebar.tmpl b/templates/repo/issue/view_content/sidebar.tmpl index 292b681b23..5cc874c1e1 100644 --- a/templates/repo/issue/view_content/sidebar.tmpl +++ b/templates/repo/issue/view_content/sidebar.tmpl @@ -477,7 +477,7 @@