mirror of
https://code.dumpstack.io/tools/wi.git
synced 2025-06-24 13:14:12 +00:00
Fix post query
This commit is contained in:
parent
df10b44fe7
commit
5d37007921
1 changed files with 1 additions and 1 deletions
|
@ -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…
Add table
Add a link
Reference in a new issue