]> git.mxchange.org Git - mailer.git/blobdiff - inc/modules/admin/what-unlock_sponsor.php
Huge rewrite:
[mailer.git] / inc / modules / admin / what-unlock_sponsor.php
index e5588721f4513ca04bd16fc8820554f26a027546..16eecaa2bb8df1bb1136df794f2444a3566b133a 100644 (file)
@@ -158,8 +158,8 @@ WHERE `id`='%s' LIMIT 1",
                        $content['points']   = translateComma($content['points_amount']);
 
                        // So let's send the email away
                        $content['points']   = translateComma($content['points_amount']);
 
                        // So let's send the email away
-                       $msg = LOAD_EMAIL_TEMPLATE("sponsor_unlocked", $content);
-                       sendEmail($content['email'], getMessage('SPONSOR_UNLOCKED_SUBJ'), $msg);
+                       $message = LOAD_EMAIL_TEMPLATE('sponsor_unlocked', $content);
+                       sendEmail($content['email'], getMessage('SPONSOR_UNLOCKED_SUBJ'), $message);
                }
        } else {
                // Nothing selected
                }
        } else {
                // Nothing selected