]> git.mxchange.org Git - mailer.git/blobdiff - inc/mails/bonus_mails.php
This wasn't the fix...
[mailer.git] / inc / mails / bonus_mails.php
index 0bc9f191ec2bce77a58f324fd3c7cbe55929662d..5f0cee83710322b70382d8a5a593e2fdb0abfc4e 100644 (file)
@@ -89,7 +89,7 @@ if (!empty($sql)) {
 
        // Load message body for bonus mails
        $message = loadEmailTemplate('bonus_en_notify_body', '', '{PER}userid{PER}');
-       $RECEIVER = ''; $UIDs = array();
+       $receiver = ''; $userids = array();
 
        // Check for accounts to be notified
        $result_main = SQL_QUERY($sql, __FILE__, __LINE__);
@@ -112,7 +112,7 @@ LIMIT 1",
                        // Load email template and send it to the user!
                        if ($sentBonusMails === true) {
                                // Add userid to queue
-                               $UIDs[] = $content['userid'];
+                               $userids[] = $content['userid'];
                        } else {
                                // Send normal notification mail to the members
                                $message = loadEmailTemplate('bonus_' . $mode . '_notify', $content, $content['userid']);
@@ -123,13 +123,13 @@ LIMIT 1",
                // Shall I send out bonus mails?
                if ($sentBonusMails === true) {
                        // Okay, make array to string
-                       $RECEIVER = implode(';', $UIDs);
+                       $receiver = implode(';', $userids);
 
                        // Prepare URL
                        $URL = 'modules.php?module=index&what=login';
 
                        // Insert mail
-                       addBonusMailToQueue($subject, $message, $RECEIVER, getConfig('bonus_notify_points'), getConfig('bonus_notify_wait'), $URL, 0, 'normal', SQL_NUMROWS($result_main));
+                       addBonusMailToQueue($subject, $message, $receiver, getConfig('bonus_notify_points'), getConfig('bonus_notify_wait'), $URL, 0, 'normal', SQL_NUMROWS($result_main));
                } // END - if
        } // END - if