didn't think that looked right

master
Ted Unangst 4 years ago
parent cdefbb0512
commit 64d97691d0

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

Loading…
Cancel
Save