From edc96930eb095b61e6c56883d46d7c9cc56689e1 Mon Sep 17 00:00:00 2001 From: Steve Sutton Date: Wed, 10 Jul 2019 08:05:34 -0400 Subject: [PATCH] Stop the dupe email Email was sent twice. --- classes/notifications.php | 2 -- 1 file changed, 2 deletions(-) diff --git a/classes/notifications.php b/classes/notifications.php index 2bf0981..32bdaff 100644 --- a/classes/notifications.php +++ b/classes/notifications.php @@ -248,8 +248,6 @@ class GlmNotifications $header[] = 'Reply-To:' . $replyto; } - wp_mail( $to_email, $subject, $message, $header ); - if ( !$attachments ) { wp_mail( $to_email, $subject, $message, $header ); } else { -- 2.17.1