aboutsummaryrefslogtreecommitdiff
path: root/Database.go
diff options
context:
space:
mode:
authorFChannel <=>2021-01-28 13:53:56 -0800
committerFChannel <=>2021-01-28 13:53:56 -0800
commit3d480edaef645b91ee8d00733dccc59f7296df28 (patch)
tree162be87968f72ec5ae5431ed85f1f33b23b3be99 /Database.go
parentee3c47a5b2251380ded1239b149fd1f6e6514bfb (diff)
reporting requires captcha
Diffstat (limited to 'Database.go')
-rw-r--r--Database.go4
1 files changed, 3 insertions, 1 deletions
diff --git a/Database.go b/Database.go
index 4f29026..ac9ee27 100644
--- a/Database.go
+++ b/Database.go
@@ -982,7 +982,9 @@ func GetCaptchaCodeDB(db *sql.DB, verify string) string {
rows.Next()
err = rows.Scan(&code)
- CheckError(err, "Could not get verification captcha")
+ if err != nil {
+ fmt.Println("Could not get verification captcha")
+ }
return code
}