mirror of
https://gitea.phreedom.club/localhost_frssoft/bloat.git
synced 2024-12-25 15:09:49 +00:00
fix read poll option
This commit is contained in:
parent
4c0c1c40a8
commit
58a2a1748e
@ -328,7 +328,7 @@ func NewHandler(s *service, verbose bool, staticDir string) http.Handler {
|
||||
scheduledAt = string(scheduled.UTC().Format(time.RFC3339))
|
||||
}
|
||||
var pollOptions []string
|
||||
for i := 0; i < 16; i++ {
|
||||
for i := 0; i < 20; i++ {
|
||||
v := c.r.FormValue(fmt.Sprintf("poll-option-%d", i))
|
||||
if len(v) == 0 {
|
||||
continue
|
||||
|
Loading…
Reference in New Issue
Block a user