Forward missing article errors to admin by email if so configured.

This commit is contained in:
Retro_Guy 2024-10-09 07:50:35 -07:00
parent 89a2486c69
commit 4f245038d2
1 changed files with 1 additions and 0 deletions

View File

@ -144,6 +144,7 @@ if ($message) {
$msg_subject = "ERROR in $group";
if (isset($OVERRIDES['send_admin_debug_messages']) && $OVERRIDES['send_admin_debug_messages'] == true) {
send_admin_message($msg_to, $msg_from, $msg_subject, $msg_body . $msg_body_2);
send_internet_email($subject, $msg_subject, $msg_body . $msg_body_2);
}
file_put_contents($debug_log, "\n" . $msg_body, FILE_APPEND);
$admin_msg_log[$group] = 0;