]> git.mxchange.org Git - mailer.git/blobdiff - inc/daily/daily_100_bonus.php
Bad things are now 'classified' as bad (CSS class 'bad' is being used instead of...
[mailer.git] / inc / daily / daily_100_bonus.php
index 868dce98e0997b041addad43465eeb691e0a8ffc..055faf701fb315b1927fbe5af856563c6f00c512 100644 (file)
@@ -17,7 +17,7 @@
  * -------------------------------------------------------------------- *
  * Copyright (c) 2003 - 2009 by Roland Haeder                           *
  * Copyright (c) 2009 - 2011 by Mailer Developer Team                   *
- * For more information visit: http://www.mxchange.org                  *
+ * For more information visit: http://mxchange.org                      *
  *                                                                      *
  * This program is free software; you can redistribute it and/or modify *
  * it under the terms of the GNU General Public License as published by *
@@ -51,7 +51,7 @@ if (!defined('__SECURITY')) {
 
 // Check for 100% klickrate mails
 $result_bonus = SQL_QUERY("SELECT
-       `id`, `userid`, `subject`, `timestamp_ordered`, `clicks`, `url`
+       `id`,`userid`,`subject`,`timestamp_ordered`,`clicks`,`url`
 FROM
        `{?_MYSQL_PREFIX?}_user_stats`
 WHERE
@@ -81,7 +81,7 @@ if (!SQL_HASZERONUMS($result_bonus)) {
        } // END - while
 
        // Handle bonus points
-       handleBonusPoints(getConfig('bonus_stats'));
+       handleBonusPoints(getConfig('bonus_stats'), $content['userid']);
 } // END - if
 
 // Free memory