Browse Source

#1643 fix delete milestone

for-closed-social
Unknwon 9 years ago
parent
commit
e303d74ab6
1 changed files with 1 additions and 1 deletions
  1. +1
    -1
      models/issue.go

+ 1
- 1
models/issue.go 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
}

Loading…
Cancel
Save