mirror of
https://gitea.phreedom.club/localhost_frssoft/bloat.git
synced 2024-12-22 11:23:33 +02:00
fix read poll option
This commit is contained in:
parent
4c0c1c40a8
commit
58a2a1748e
1 changed files with 1 additions and 1 deletions
|
@ -328,7 +328,7 @@ func NewHandler(s *service, verbose bool, staticDir string) http.Handler {
|
||||||
scheduledAt = string(scheduled.UTC().Format(time.RFC3339))
|
scheduledAt = string(scheduled.UTC().Format(time.RFC3339))
|
||||||
}
|
}
|
||||||
var pollOptions []string
|
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))
|
v := c.r.FormValue(fmt.Sprintf("poll-option-%d", i))
|
||||||
if len(v) == 0 {
|
if len(v) == 0 {
|
||||||
continue
|
continue
|
||||||
|
|
Loading…
Reference in a new issue