// Bonus mails sent by you
// 0 1 2 3 4 5 6 7 8 9 10 11 12
$SQL2 = "SELECT id, subject, text, receivers, points, time, data_type, timestamp, url, cat_id, target_send, mails_sent, clicks
- FROM "._MYSQL_PREFIX."_bonus
- ORDER BY timestamp DESC";
+ FROM "._MYSQL_PREFIX."_bonus
+ WHERE is_notify='N'
+ ORDER BY timestamp DESC";
// Check for maximum pages
$result_bonus = SQL_QUERY($SQL2, __FILE__, __LINE__);