Fix intentional typo in dev mode check (left over from testing)

This commit is contained in:
Daniel Friesel 2019-04-02 20:11:34 +02:00
parent 8883b02fe4
commit b0ad209a23

View file

@ -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;