should have been sub
This commit is contained in:
parent
ad07d61db8
commit
2b01dc8935
2
web.go
2
web.go
|
@ -1182,7 +1182,7 @@ func submithonker(w http.ResponseWriter, r *http.Request) {
|
||||||
goodbye := r.FormValue("goodbye")
|
goodbye := r.FormValue("goodbye")
|
||||||
if goodbye == "F" {
|
if goodbye == "F" {
|
||||||
db := opendatabase()
|
db := opendatabase()
|
||||||
row := db.QueryRow("select xid from honkers where honkerid = ? and userid = ? and flavor in ('dub')",
|
row := db.QueryRow("select xid from honkers where honkerid = ? and userid = ? and flavor in ('sub')",
|
||||||
honkerid, u.UserID)
|
honkerid, u.UserID)
|
||||||
err := row.Scan(&url)
|
err := row.Scan(&url)
|
||||||
if err != nil {
|
if err != nil {
|
||||||
|
|
Loading…
Reference in New Issue