summaryrefslogtreecommitdiff
path: root/lib/Travelynx/Helper/Sendmail.pm
diff options
context:
space:
mode:
authorDaniel Friesel <derf@finalrewind.org>2019-04-02 20:11:34 +0200
committerDaniel Friesel <derf@finalrewind.org>2019-04-02 20:11:34 +0200
commitb0ad209a234ffb447ac56b89be6e43a3ecec4ae7 (patch)
tree450fa5ff8f90fc5261603f20794006658990c101 /lib/Travelynx/Helper/Sendmail.pm
parent8883b02fe4eb1ea292fe389d35c4a91d8827bab5 (diff)
Fix intentional typo in dev mode check (left over from testing)
Diffstat (limited to 'lib/Travelynx/Helper/Sendmail.pm')
-rw-r--r--lib/Travelynx/Helper/Sendmail.pm2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/Travelynx/Helper/Sendmail.pm b/lib/Travelynx/Helper/Sendmail.pm
index c110a29..464c888 100644
--- a/lib/Travelynx/Helper/Sendmail.pm
+++ b/lib/Travelynx/Helper/Sendmail.pm
@@ -28,7 +28,7 @@ sub custom {
body => encode( 'utf-8', $body ),
);
- if ($ENV{TRAVELYNX_DB_NAME} eq 'travelynx_deva') {
+ if ($ENV{TRAVELYNX_DB_NAME} eq 'travelynx_dev') {
# Do not send mail in dev mode
say "sendmail to ${to}: ${subject}\n\n${body}";
return 1;