From 7d89e765ab499bb861d83e5e2a3fb1d1ee11cd75 Mon Sep 17 00:00:00 2001 From: Unknown Date: Wed, 7 May 2014 18:57:00 -0400 Subject: [PATCH] Bug fix --- models/repo.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/models/repo.go b/models/repo.go index f2460e1aa5a..0ca32bc28b9 100644 --- a/models/repo.go +++ b/models/repo.go @@ -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 }