);
// Load member email template
- $mailText = loadEmailTemplate('member_coupon', $content, $userid);
+ $mailText = loadEmailTemplate('member_coupon_code', $content, $userid);
// And deliver it
sendEmail($userid, '{--MEMBER_COUPON_SUBJECT--}', $mailText);
);
// Send admin notification
- sendAdminNotification('{--ADMIN_COUPON_SUBJECT--}', 'admin_coupon', $content);
+ sendAdminNotification('{--ADMIN_COUPON_SUBJECT--}', 'admin_coupon_code', $content);
// Free result
SQL_FREERESULT($result);