From d6b5c14123b6b701d54fa7d870158525bf14ef9c Mon Sep 17 00:00:00 2001 From: Nick Winter Date: Wed, 24 Dec 2014 11:02:52 -0800 Subject: [PATCH] Give me thine email addresses correctly, dear contact handler. --- server/routes/contact.coffee | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/server/routes/contact.coffee b/server/routes/contact.coffee index 9d0873790..37d7bfde9 100644 --- a/server/routes/contact.coffee +++ b/server/routes/contact.coffee @@ -43,7 +43,7 @@ createMailContext = (req, done) -> reply_to: sender or user.get('email') name: user.get('name') email_data: - subject: "[CodeCombat] #{subject ? ('Feedback - ' + sender or user.get('email'))}" + subject: "[CodeCombat] #{subject ? ('Feedback - ' + (sender or user.get('email')))}" content: content if recipientID and (user.isAdmin() or ('employer' in (user.get('permissions') ? [])))