projects
/
WP-Plugins
/
glm-member-db-billing.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
72c14d3
)
Stop the dupe email
author
Steve Sutton
<steve@gaslightmedia.com>
Wed, 10 Jul 2019 12:05:34 +0000
(08:05 -0400)
committer
Steve Sutton
<steve@gaslightmedia.com>
Wed, 10 Jul 2019 12:05:34 +0000
(08:05 -0400)
Email was sent twice.
classes/notifications.php
patch
|
blob
|
history
diff --git
a/classes/notifications.php
b/classes/notifications.php
index
2bf0981
..
32bdaff
100644
(file)
--- 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 {