File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed
Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff 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">
You can’t perform that action at this time.
0 commit comments