A lot has been rewritten, ext-teams added, ext-forced continued:
[mailer.git] / inc / modules / admin / what-list_unconfirmed.php
index bd1b932e2b19353b384eab79bd5a7f19bdc41fc8..92cde69e485396bee22d27f3f12fec73defee97e 100644 (file)
@@ -85,7 +85,7 @@ LIMIT 1",
 
        // SQL query for mail data (both ids are required for compatiblity to above normal mail
        $sql = sprintf("SELECT
-       `id`, `id` AS `sender`, `subject`, `text`, `url`, `timestamp`, `mails_sent` AS `max_rec`
+       `id`,`id` AS `sender`,`subject`,`text`,`url`,`timestamp`,`mails_sent` AS `max_rec`
 FROM
        `{?_MYSQL_PREFIX?}_bonus`
 WHERE
@@ -125,7 +125,7 @@ if (($listed === true) && (!empty($sql))) {
 
                // Bonus mails do always have a sender 'NULL'
                if ($col == 'bonus_id') {
-                       $poolData['sender'] = null;
+                       $poolData['sender'] = NULL;
                } // END - if
 
                // Load unconfirmed mail links. Hmmm, this select query is pretty cool