This website works better with JavaScript.
Home
Explore
Help
Sign In
closed-social
/
gitea
Watch
3
Star
0
Fork
0
Code
Issues
0
Pull Requests
0
Projects
0
Releases
0
Wiki
Activity
Browse Source
#1643
fix delete milestone
for-closed-social
Unknwon
9 years ago
parent
e4ecbcdf4a
commit
e303d74ab6
1 changed files
with
1 additions
and
1 deletions
Split View
Diff Options
Show Stats
Download Patch File
Download Diff File
+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
}
Write
Preview
Loading…
Cancel
Save