diff options
Diffstat (limited to 'routers/web/repo/topic.go')
-rw-r--r-- | routers/web/repo/topic.go | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/routers/web/repo/topic.go b/routers/web/repo/topic.go index 1d99b65094..5a24d7b2b6 100644 --- a/routers/web/repo/topic.go +++ b/routers/web/repo/topic.go @@ -23,7 +23,7 @@ func TopicsPost(ctx *context.Context) { } var topics = make([]string, 0) - var topicsStr = strings.TrimSpace(ctx.Query("topics")) + var topicsStr = strings.TrimSpace(ctx.Form("topics")) if len(topicsStr) > 0 { topics = strings.Split(topicsStr, ",") } |