Fixup missing return value

This commit is contained in:
Eliot Whalan 2016-06-24 15:33:14 +10:00
parent dc1ad54fa3
commit 49b352b19a
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)
if err == sql.ErrNoRows {
return "Error invalid paste"
return "Error invalid paste", ""
} else {
if lang == "" {
return html.UnescapeString(s), title