From b0ad209a234ffb447ac56b89be6e43a3ecec4ae7 Mon Sep 17 00:00:00 2001 From: Daniel Friesel Date: Tue, 2 Apr 2019 20:11:34 +0200 Subject: [PATCH] Fix intentional typo in dev mode check (left over from testing) --- lib/Travelynx/Helper/Sendmail.pm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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;