// Fix small bug

This commit is contained in:
lLefevre committed 2012-09-19 09:02:25 +00:00
1 parent 1513a4029a
commit c52c1fa171
1 file changed
+2
@@ -475,6 +475,8 @@ class ReferralProgram extends Module
'{voucher_num}' => $cartRule->code, '{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').'%')); '{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( Mail::Send(
(int)$cookie->id_lang, (int)$cookie->id_lang,
'referralprogram-voucher', 'referralprogram-voucher',