// Grab user's all unconfirmed mails
if (isExtensionActive('bonus')) {
- // Load bonus ID
+ // Load bonus id
$result = SQL_QUERY_ESC("SELECT stats_id, bonus_id, link_type FROM `{?_MYSQL_PREFIX?}_user_links` WHERE `userid`=%s ORDER BY `id`",
array(bigintval(getRequestElement('userid'))), __FILE__, __LINE__);
} else {
- // Load stats ID (2nd will be ignored later! But it is needed for the same fetchrow command)
+ // Load stats id (2nd will be ignored later! But it is needed for the same fetchrow command)
$result = SQL_QUERY_ESC("SELECT stats_id, stats_id, link_type FROM `{?_MYSQL_PREFIX?}_user_links` WHERE `userid`=%s ORDER BY `id` ASC",
array(bigintval(getRequestElement('userid'))), __FILE__, __LINE__);
}
// Prepare data for the row template
$content = array(
- 'sw' => $SW,
- 'link' => $LINK,
- 'subj' => $subject,
- 'stamp' => generateDateTime($timestamp, '0'),
- 'cat' => getCategory($cat),
+ 'sw' => $SW,
+ 'link' => $LINK,
+ 'subject' => $subject,
+ 'stamp' => generateDateTime($timestamp, 0),
+ 'cat' => getCategory($cat),
);
// Load row template