mirror of
https://gitea.phreedom.club/localhost_frssoft/bloat.git
synced 2024-11-16 09:49:21 +02: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))
|
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 New Issue