Fix post query

This commit is contained in:
Mikhail Klementyev 2016-11-20 16:17:06 +03:00
parent df10b44fe7
commit 5d37007921

View File

@ -199,7 +199,7 @@ func Form(db *sql.DB, formID int64, formArgs []string) {
} }
for _, fa := range formArgs { for _, fa := range formArgs {
nameAndValue := strings.Split(fa, " ") nameAndValue := strings.Split(fa, "=")
if len(nameAndValue) != 2 { if len(nameAndValue) != 2 {
continue continue
} }