diff options
author | Unknwon <u@gogs.io> | 2015-11-20 02:38:41 -0500 |
---|---|---|
committer | Unknwon <u@gogs.io> | 2015-11-20 02:38:41 -0500 |
commit | 987dcc5372998adaafb68e00a9a460e955d018e5 (patch) | |
tree | 6f88db3bee30cab2339244c124e6c82324a597a1 /models/issue.go | |
parent | 9b6c835715ab27aa7a008a51415f38ca2a856cd0 (diff) | |
download | gitea-987dcc5372998adaafb68e00a9a460e955d018e5.tar.gz gitea-987dcc5372998adaafb68e00a9a460e955d018e5.zip |
fix #1383
Diffstat (limited to 'models/issue.go')
-rw-r--r-- | models/issue.go | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/models/issue.go b/models/issue.go index 077e945c37..9329f9b568 100644 --- a/models/issue.go +++ b/models/issue.go @@ -1375,8 +1375,8 @@ func ChangeMilestoneAssign(oldMid int64, issue *Issue) (err error) { } // DeleteMilestoneByID deletes a milestone by given ID. -func DeleteMilestoneByID(mid int64) error { - m, err := GetMilestoneByID(mid) +func DeleteMilestoneByID(id int64) error { + m, err := GetMilestoneByID(id) if err != nil { if IsErrMilestoneNotExist(err) { return nil |