From: Steve Sutton Date: Wed, 10 Jul 2019 12:05:34 +0000 (-0400) Subject: Stop the dupe email X-Git-Url: http://cvs2.gaslightmedia.com/gitweb/index.cgi?a=commitdiff_plain;h=edc96930eb095b61e6c56883d46d7c9cc56689e1;p=WP-Plugins%2Fglm-member-db-billing.git Stop the dupe email Email was sent twice. --- 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 {