diff options
author | Unknwon <u@gogs.io> | 2015-08-13 16:07:11 +0800 |
---|---|---|
committer | Unknwon <u@gogs.io> | 2015-08-13 16:07:11 +0800 |
commit | 133b19d0c5587b7c6d5d9e8057f81bc45a246972 (patch) | |
tree | 1cd0e19599d5f9288fb1b2cbf5bf8f48fdf16fd8 /models/repo.go | |
parent | d7d72b9e3cc0e536d213d6501244544de8020661 (diff) | |
download | gitea-133b19d0c5587b7c6d5d9e8057f81bc45a246972.tar.gz gitea-133b19d0c5587b7c6d5d9e8057f81bc45a246972.zip |
finish view comments on issue page
Diffstat (limited to 'models/repo.go')
-rw-r--r-- | models/repo.go | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/models/repo.go b/models/repo.go index 1c4f09c4d7..8ae3cfe6f2 100644 --- a/models/repo.go +++ b/models/repo.go @@ -929,7 +929,7 @@ func DeleteRepository(uid, repoID int64, userName string) error { return err } for i := range issues { - if _, err = sess.Delete(&Comment{IssueId: issues[i].ID}); err != nil { + if _, err = sess.Delete(&Comment{IssueID: issues[i].ID}); err != nil { return err } } |