Browse Source

Bug fix

tags/v1.2.0-rc1
Unknown 12 years ago
parent
commit
7d89e765ab
1 changed files with 1 additions and 1 deletions
  1. +1
    -1
      models/repo.go

+ 1
- 1
models/repo.go View File

@@ -785,7 +785,7 @@ func NotifyWatchers(act *Action) error {

// IsWatching checks if user has watched given repository.
func IsWatching(uid, rid int64) bool {
has, _ := orm.Get(&Watch{0, rid, uid})
has, _ := orm.Get(&Watch{0, uid, rid})
return has
}



Loading…
Cancel
Save