From 1d3050fc9697e8b4508cca687f736201ddc38eaa Mon Sep 17 00:00:00 2001 From: Chris Morgan Date: Sat, 16 Jun 2007 17:04:56 +0000 Subject: [PATCH] Fix cron maintenance email subject for database error log emails. Forgot to flag $sEmailSubject as global --- cron/cleanup.php | 1 + 1 file changed, 1 insertion(+) diff --git a/cron/cleanup.php b/cron/cleanup.php index 2f6d628..46fc1e6 100644 --- a/cron/cleanup.php +++ b/cron/cleanup.php @@ -254,6 +254,7 @@ function orphanSessionListCheck() // report the database error log entries to the mailing list function reportErrorLogEntries() { + global $sEmailSubject; error_log::mail_admins_error_log($sEmailSubject); error_log::flush(); }