diff --git a/web.go b/web.go index 9469186..c788a42 100644 --- a/web.go +++ b/web.go @@ -1182,7 +1182,7 @@ func submithonker(w http.ResponseWriter, r *http.Request) { goodbye := r.FormValue("goodbye") if goodbye == "F" { 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) err := row.Scan(&url) if err != nil {