didn't think that looked right

This commit is contained in:
Ted Unangst 2020-03-08 12:54:59 -04:00
parent cdefbb0512
commit 64d97691d0
1 changed files with 1 additions and 1 deletions

2
web.go
View File

@ -1795,7 +1795,7 @@ func submithonker(w http.ResponseWriter, r *http.Request) {
if goodbye == "X" { if goodbye == "X" {
var owner string var owner string
db := opendatabase() db := opendatabase()
row := db.QueryRow("select xid, owner from honkers where honkerid = ? and userid = ? and flavor in ('unsub', 'peep', 'presub, 'sub')", row := db.QueryRow("select xid, owner from honkers where honkerid = ? and userid = ? and flavor in ('unsub', 'peep', 'presub', 'sub')",
honkerid, u.UserID) honkerid, u.UserID)
err := row.Scan(&url, &owner) err := row.Scan(&url, &owner)
if err != nil { if err != nil {