From 4f245038d251ff28c0d664ad3dfd30dff8cb64dc Mon Sep 17 00:00:00 2001 From: Retro_Guy Date: Wed, 9 Oct 2024 07:50:35 -0700 Subject: [PATCH] Forward missing article errors to admin by email if so configured. --- Rocksolid_Light/rocksolid/article-flat.php | 1 + 1 file changed, 1 insertion(+) diff --git a/Rocksolid_Light/rocksolid/article-flat.php b/Rocksolid_Light/rocksolid/article-flat.php index f8e5157..147ffb5 100644 --- a/Rocksolid_Light/rocksolid/article-flat.php +++ b/Rocksolid_Light/rocksolid/article-flat.php @@ -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;