We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 1979bd7 commit a381d78Copy full SHA for a381d78
routers/web/repo/issue_new.go
@@ -398,7 +398,6 @@ func NewIssuePost(ctx *context.Context) {
398
if ctx.FormString("redirect_after_creation") == "project" && projectID > 0 {
399
project, err := project_model.GetProjectByID(ctx, projectID)
400
if err == nil {
401
- // to reduce load the content from database again, we just set the owner/repo here
402
if project.Type == project_model.TypeOrganization {
403
ctx.JSONRedirect(project_model.ProjectLinkForOrg(ctx.Repo.Owner, project.ID))
404
} else {
0 commit comments