[-] MO : fixed voucher currency in referral program #PSCFV-5950
This commit is contained in:
1 parent
574819bb69
commit
eeb0f504d4
1 file changed
+1
-1
@@ -94,7 +94,7 @@ class ReferralProgramModule extends ObjectModel
|
|||||||
$cartRule->code = $this->getDiscountPrefix().Tools::passwdGen(6);
|
$cartRule->code = $this->getDiscountPrefix().Tools::passwdGen(6);
|
||||||
$cartRule->name = Configuration::getInt('REFERRAL_DISCOUNT_DESCRIPTION');
|
$cartRule->name = Configuration::getInt('REFERRAL_DISCOUNT_DESCRIPTION');
|
||||||
$cartRule->id_customer = (int)$id_customer;
|
$cartRule->id_customer = (int)$id_customer;
|
||||||
$cartRule->id_currency = (int)$id_currency;
|
$cartRule->reduction_currency = (int)$id_currency;
|
||||||
|
|
||||||
if ($cartRule->add())
|
if ($cartRule->add())
|
||||||
{
|
{
|
||||||
|
|||||||
Reference in new issue
Block a user