]> git.mxchange.org Git - mailer.git/blobdiff - inc/modules/admin/what-email_details.php
Extension 'yoomedia' now alpha status, some rewrites
[mailer.git] / inc / modules / admin / what-email_details.php
index 6762cc915fbf0a4b9b06d7c793ff0a38f3ad4954..ee06841fda1967d30946f77d8b384d03b107f9fd 100644 (file)
@@ -48,7 +48,7 @@ if ((!defined('__SECURITY')) || (!IS_ADMIN())) {
 }
 
 // Add description as navigation point
-ADD_DESCR("admin", basename(__FILE__));
+ADD_DESCR("admin", __FILE__);
 
 // Normal mails ordered by your members
 //              0     1       2       3       4           5          6          7       8        9          10
@@ -85,8 +85,9 @@ if ((EXT_IS_ACTIVE("bonus")) && ($WHO == _ALL)) {
        // 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__);