]> git.mxchange.org Git - mailer.git/commitdiff
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 1c5ee8fd3193186614180b1f5d8c9f0e5378334d..a5cd6edc6a4f1693989386c4089a80f128eb5a55 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 24aa58332c9fafa37e7f562963d7b54ad30f486f..59d3cf340cfca49e8bed581d296a759fc45ff906 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