Fixup missing return value

This commit is contained in:
Eliot Whalan 2016-06-24 15:33:14 +10:00
parent 40adfe9136
commit 04675d9ba8
No known key found for this signature in database
GPG Key ID: C0A42175139840D6
1 changed files with 1 additions and 1 deletions

View File

@ -222,7 +222,7 @@ func getPaste(paste string, lang string) (string, string) {
check(err) check(err)
if err == sql.ErrNoRows { if err == sql.ErrNoRows {
return "Error invalid paste" return "Error invalid paste", ""
} else { } else {
if lang == "" { if lang == "" {
return html.UnescapeString(s), title return html.UnescapeString(s), title