Skip to content

Commit

Permalink
Remove comment
Browse files Browse the repository at this point in the history
  • Loading branch information
lunny committed Dec 31, 2024
1 parent 1979bd7 commit a381d78
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion routers/web/repo/issue_new.go
Original file line number Diff line number Diff line change
Expand Up @@ -398,7 +398,6 @@ func NewIssuePost(ctx *context.Context) {
if ctx.FormString("redirect_after_creation") == "project" && projectID > 0 {
project, err := project_model.GetProjectByID(ctx, projectID)
if err == nil {
// to reduce load the content from database again, we just set the owner/repo here
if project.Type == project_model.TypeOrganization {
ctx.JSONRedirect(project_model.ProjectLinkForOrg(ctx.Repo.Owner, project.ID))
} else {
Expand Down

0 comments on commit a381d78

Please sign in to comment.