]> git.mxchange.org Git - mailer.git/blobdiff - inc/daily/daily_100_bonus.php
Mailer project continued:
[mailer.git] / inc / daily / daily_100_bonus.php
index 868dce98e0997b041addad43465eeb691e0a8ffc..c32db5f50900974e55d8f955738731bcbd04a85b 100644 (file)
@@ -16,8 +16,8 @@
  * $Author::                                                          $ *
  * -------------------------------------------------------------------- *
  * Copyright (c) 2003 - 2009 by Roland Haeder                           *
- * Copyright (c) 2009 - 2011 by Mailer Developer Team                   *
- * For more information visit: http://www.mxchange.org                  *
+ * Copyright (c) 2009 - 2012 by Mailer Developer Team                   *
+ * 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,12 @@ 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 +86,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