]> git.mxchange.org Git - mailer.git/blobdiff - inc/pool/pool-bonus.php
Required fix for NULL vs. 0 in user_points
[mailer.git] / inc / pool / pool-bonus.php
index 5e9c743b8a7a32cbd421fe00f8c1ee5356e9a5d1..cc404ca1f5127bba2664a95b5a65a58268fbb6f0 100644 (file)
@@ -16,7 +16,7 @@
  * $Author::                                                          $ *
  * -------------------------------------------------------------------- *
  * Copyright (c) 2003 - 2009 by Roland Haeder                           *
- * Copyright (c) 2009, 2010 by Mailer Developer Team                    *
+ * Copyright (c) 2009 - 2011 by Mailer Developer Team                   *
  * For more information visit: http://www.mxchange.org                  *
  *                                                                      *
  * This program is free software; you can redistribute it and/or modify *
@@ -97,7 +97,7 @@ if ($GLOBALS['pool_cnt'] < getMaxSend()) {
                                        switch ($status) {
                                                case 'done': // Done!
                                                        // Prepare the mail
-                                                       $mailText = loadEmailTemplate('bonus-mail', $DATA, $userid);
+                                                       $mailText = loadEmailTemplate('member_bonus_pool_normal', $DATA, $userid);
 
                                                        // Send mail away
                                                        if (isset($DATA['html_msg'])) {
@@ -126,7 +126,7 @@ if ($GLOBALS['pool_cnt'] < getMaxSend()) {
                                                        break;
 
                                                default: // Unknown return type
-                                                       logDebugMessage(__FILE__, __LINE__, 'Unknown status ' . $status . ' detected. pool_id=' . $DATA['id'] . ',sender=' . $DATA['sender'] . ',stats_id=' . $stats_id);
+                                                       logDebugMessage(__FILE__, __LINE__, 'Unknown status ' . $status . ' detected. pool_id=' . $DATA['id'] . ',userid=' . $DATA['userid'] . ',stats_id=' . $stats_id);
                                                        break;
                                        } // END - switch
                                } // END - if