Unknown hace 11 años
padre
commit
7d89e765ab
Se han modificado 1 ficheros con 1 adiciones y 1 borrados
  1. 1 1
      models/repo.go

+ 1 - 1
models/repo.go

@@ -785,7 +785,7 @@ func NotifyWatchers(act *Action) error {
 
 
 // IsWatching checks if user has watched given repository.
 // IsWatching checks if user has watched given repository.
 func IsWatching(uid, rid int64) bool {
 func IsWatching(uid, rid int64) bool {
-	has, _ := orm.Get(&Watch{0, rid, uid})
+	has, _ := orm.Get(&Watch{0, uid, rid})
 	return has
 	return has
 }
 }