0
0
Fork 0
mirror of https://github.com/go-gitea/gitea synced 2024-11-26 14:02:47 +01:00

#1643 fix delete milestone

This commit is contained in:
Unknwon 2015-09-15 10:03:50 -04:00
parent e4ecbcdf4a
commit e303d74ab6

View file

@ -1619,7 +1619,7 @@ func DeleteMilestoneByID(mid int64) error {
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
}