Skip to content

Commit

Permalink
Fix mtrace log to use correct variable $emailaddress instead of $email (
Browse files Browse the repository at this point in the history
  • Loading branch information
SergeT24 authored Nov 5, 2024
1 parent 221687c commit 3a02f31
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib.php
Original file line number Diff line number Diff line change
Expand Up @@ -305,7 +305,7 @@ function reengagement_email_user($reengagement, $inprogress) {
$emails = array_map('trim', explode(',', $reengagement->thirdpartyemails));
foreach ($emails as $emailaddress) {
if (!validate_email($emailaddress)) {
debugging('', DEBUG_ALL) && mtrace("invalid third-party email: $email - skipping send");
debugging('', DEBUG_ALL) && mtrace("invalid third-party email: $emailaddress - skipping send");
continue;
}
if ($istotara) {
Expand Down

0 comments on commit 3a02f31

Please sign in to comment.