From e297ccd93221dfbfd99f90ed160fb20df3524df0 Mon Sep 17 00:00:00 2001 From: =?utf8?q?Roland=20H=C3=A4der?= Date: Sat, 30 Jul 2011 08:37:59 +0000 Subject: [PATCH] Fix for missing array element 'mails_sent' --- inc/functions.php | 2 +- inc/modules/admin/what-email_details.php | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/inc/functions.php b/inc/functions.php index 1c5ee8fd31..a5cd6edc6a 100644 --- a/inc/functions.php +++ b/inc/functions.php @@ -1553,7 +1553,7 @@ function handleLoginFailures ($accessLevel) { // Rebuild cache function rebuildCache ($cache, $inc = '', $force = false) { // Debug message - /* DEBUG: */ logDebugMessage(__FUNCTION__, __LINE__, sprintf("cache=%s, inc=%s, force=%s", $cache, $inc, intval($force))); + //* DEBUG: */ logDebugMessage(__FUNCTION__, __LINE__, sprintf("cache=%s, inc=%s, force=%s", $cache, $inc, intval($force))); // Shall I remove the cache file? if (isCacheInstanceValid()) { diff --git a/inc/modules/admin/what-email_details.php b/inc/modules/admin/what-email_details.php index 24aa58332c..59d3cf340c 100644 --- a/inc/modules/admin/what-email_details.php +++ b/inc/modules/admin/what-email_details.php @@ -66,7 +66,7 @@ $SQL2 = ''; if (isGetRequestParameterSet('mid')) { // Only a specific mail shall be displayed $sql = sprintf("SELECT - `id`,`sender`,`subject`,`text`,`receivers`,`payment_id`,`data_type`,`timestamp`,`url`,`target_send`,`cat_id` + `id`,`sender`,`subject`,`text`,`receivers`,`payment_id`,`data_type`,`timestamp`,`url`,`target_send`,`mails_sent`,`cat_id` FROM `{?_MYSQL_PREFIX?}_pool` WHERE @@ -78,7 +78,7 @@ LIMIT 1", } elseif (isGetRequestParameterSet('userid')) { // All mails by a specific member shall be displayed $sql = sprintf("SELECT - `id`,`sender`,`subject`,`text`,`receivers`,`payment_id`,`data_type`,`timestamp`,`url`,`target_send`,`cat_id` + `id`,`sender`,`subject`,`text`,`receivers`,`payment_id`,`data_type`,`timestamp`,`url`,`target_send`,`mails_sent`,`cat_id` FROM `{?_MYSQL_PREFIX?}_pool` WHERE -- 2.30.2