aboutsummaryrefslogtreecommitdiffstats
path: root/models/issue_comment.go
diff options
context:
space:
mode:
Diffstat (limited to 'models/issue_comment.go')
-rw-r--r--models/issue_comment.go2
1 files changed, 2 insertions, 0 deletions
diff --git a/models/issue_comment.go b/models/issue_comment.go
index 1b02918cb7..c3654460ff 100644
--- a/models/issue_comment.go
+++ b/models/issue_comment.go
@@ -1035,6 +1035,7 @@ func UpdateComment(doer *User, c *Comment, oldContent string) error {
if err := c.LoadIssue(); err != nil {
return err
}
+
if err := c.Issue.LoadAttributes(); err != nil {
return err
}
@@ -1093,6 +1094,7 @@ func DeleteComment(doer *User, comment *Comment) error {
if err := comment.LoadIssue(); err != nil {
return err
}
+
if err := comment.Issue.LoadAttributes(); err != nil {
return err
}