// 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
// 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