From: Roland Häder Date: Sat, 30 Jul 2011 08:37:59 +0000 (+0000) Subject: Fix for missing array element 'mails_sent' X-Git-Url: https://git.mxchange.org/?p=mailer.git;a=commitdiff_plain;h=e297ccd93221dfbfd99f90ed160fb20df3524df0 Fix for missing array element 'mails_sent' --- 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