didn't think that looked right
This commit is contained in:
parent
cdefbb0512
commit
64d97691d0
2
web.go
2
web.go
|
@ -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…
Reference in New Issue