should have been sub

This commit is contained in:
Ted Unangst 2019-10-06 21:50:56 -04:00
parent ad07d61db8
commit 2b01dc8935
1 changed files with 1 additions and 1 deletions

2
web.go
View File

@ -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 {