diff options
author | Lunny Xiao <xiaolunwen@gmail.com> | 2014-03-29 14:35:54 +0800 |
---|---|---|
committer | Lunny Xiao <xiaolunwen@gmail.com> | 2014-03-29 14:35:54 +0800 |
commit | f48fc24670b122df069149801459eb55a67045c7 (patch) | |
tree | 04a054e989341953072f854134a50d62f75993c8 /models/repo.go | |
parent | e085d7738a683785a5d7d7e3a33a0437c87c340b (diff) | |
parent | d01820c125669367b7a585d767d5f11e73a701c2 (diff) |
Merge branch 'master' of github.com:gogits/gogs
Diffstat (limited to 'models/repo.go')
-rw-r--r-- | models/repo.go | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/models/repo.go b/models/repo.go index 726d435d..4be655d2 100644 --- a/models/repo.go +++ b/models/repo.go @@ -510,6 +510,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()) |