Skip to content

Commit 5388df4

Browse files
committed
verrify notification emails
1 parent e2b0858 commit 5388df4

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

public_html/lists/admin/send_core.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1016,8 +1016,8 @@ function submitform() {
10161016
// notification of progress of message sending
10171017
// defaulting to admin_details['email'] gives the wrong impression that this is the
10181018
// value in the database, so it is better to leave that empty instead
1019-
$notify_start = isset($messagedata['notify_start']) ? $messagedata['notify_start'] : ''; //$admin_details['email'];
1020-
$notify_end = isset($messagedata['notify_end']) ? $messagedata['notify_end'] : ''; //$admin_details['email'];
1019+
$notify_start = isset($messagedata['notify_start']) && is_email($messagedata['notify_start']) ? $messagedata['notify_start'] : ''; //$admin_details['email'];
1020+
$notify_end = isset($messagedata['notify_end']) && is_email($messagedata['notify_end']) ? $messagedata['notify_end'] : ''; //$admin_details['email'];
10211021

10221022
$send_content = sprintf('
10231023
<div class="sendNotify">

0 commit comments

Comments
 (0)