diff options
Diffstat (limited to 'models/repo.go')
-rw-r--r-- | models/repo.go | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/models/repo.go b/models/repo.go index 218f15afe5..af8f688339 100644 --- a/models/repo.go +++ b/models/repo.go @@ -1800,7 +1800,7 @@ type SearchRepoOptions struct { func SearchRepositoryByName(opts *SearchRepoOptions) (repos RepositoryList, _ int64, _ error) { var ( sess *xorm.Session - cond builder.Cond = builder.NewCond() + cond = builder.NewCond() ) if len(opts.Keyword) == 0 { |