// Fix small bug

git-svn-id: http://dev.prestashop.com/svn/v1/branches/1.5.x@17412 b9a71923-0436-4b27-9f14-aed3839534dd
This commit is contained in:
lLefevre
2012-09-19 09:02:25 +00:00
parent 95d63aa30e
commit 6b1f0fb41a
@@ -475,6 +475,8 @@ class ReferralProgram extends Module
'{voucher_num}' => $cartRule->code,
'{voucher_amount}' => (Configuration::get('REFERRAL_DISCOUNT_TYPE') == 2 ? Tools::displayPrice((float)Configuration::get('REFERRAL_DISCOUNT_VALUE_'.(int)$this->context->currency->id), (int)Configuration::get('PS_CURRENCY_DEFAULT')) : (float)Configuration::get('REFERRAL_PERCENTAGE').'%'));
$cookie = $this->context->cookie;
Mail::Send(
(int)$cookie->id_lang,
'referralprogram-voucher',