Browse Source

#1643 fix delete milestone

pull/1662/head
Unknwon 9 years ago
parent
commit
e303d74ab6
  1. 2
      models/issue.go

2
models/issue.go

@ -1619,7 +1619,7 @@ func DeleteMilestoneByID(mid int64) error {
return err return err
} }
if _, err = sess.Id(m.ID).Delete(m); err != nil { if _, err = sess.Id(m.ID).Delete(new(Milestone)); err != nil {
return err return err
} }

Loading…
Cancel
Save