aboutsummaryrefslogtreecommitdiffstats
path: root/models/repo.go
diff options
context:
space:
mode:
authorUnknown <joe2010xtmf@163.com>2014-04-02 10:38:30 -0400
committerUnknown <joe2010xtmf@163.com>2014-04-02 10:38:30 -0400
commitd9005ee970270bca97e81d59edca4722752d160d (patch)
tree9adeaf4ee547f1b2b7c9a546b1af2c89b007516e /models/repo.go
parentb0e7dd6864717841dd218af93dd8bd30d198128d (diff)
downloadgitea-d9005ee970270bca97e81d59edca4722752d160d.tar.gz
gitea-d9005ee970270bca97e81d59edca4722752d160d.zip
Improve issue mail content
Diffstat (limited to 'models/repo.go')
-rw-r--r--models/repo.go1
1 files changed, 1 insertions, 0 deletions
diff --git a/models/repo.go b/models/repo.go
index 0c808f1845..8dd7da23f1 100644
--- a/models/repo.go
+++ b/models/repo.go
@@ -513,6 +513,7 @@ func NotifyWatchers(act *Action) error {
continue
}
+ act.Id = 0
act.UserId = watches[i].UserId
if _, err = orm.InsertOne(act); err != nil {
return errors.New("repo.NotifyWatchers(create action): " + err.Error())