Fix for missing array element 'mails_sent'
authorRoland Häder <roland@mxchange.org>
Sat, 30 Jul 2011 08:37:59 +0000 (08:37 +0000)
committerRoland Häder <roland@mxchange.org>
Sat, 30 Jul 2011 08:37:59 +0000 (08:37 +0000)
inc/functions.php
inc/modules/admin/what-email_details.php

index 1c5ee8f..a5cd6ed 100644 (file)
@@ -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()) {
index 24aa583..59d3cf3 100644 (file)
@@ -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