mirror of
https://code.dumpstack.io/tools/wi.git
synced 2024-11-14 14:29:19 +02:00
Fix post query
This commit is contained in:
parent
df10b44fe7
commit
5d37007921
|
@ -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
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue