X-Git-Url: https://git.mxchange.org/?p=mailer.git;a=blobdiff_plain;f=inc%2Fmodules%2Fadmin%2Fwhat-unlock_sponsor.php;h=16eecaa2bb8df1bb1136df794f2444a3566b133a;hp=e5588721f4513ca04bd16fc8820554f26a027546;hb=b8aa17b98b99c27eafbdca0fa090bae63527da9a;hpb=61dec4b03dbfb49cbbeb19628d966c6e34f3b59a diff --git a/inc/modules/admin/what-unlock_sponsor.php b/inc/modules/admin/what-unlock_sponsor.php index e5588721f4..16eecaa2bb 100644 --- a/inc/modules/admin/what-unlock_sponsor.php +++ b/inc/modules/admin/what-unlock_sponsor.php @@ -158,8 +158,8 @@ WHERE `id`='%s' LIMIT 1", $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