small fix
This commit is contained in:
parent
cfc9e5cf3d
commit
9a20001d73
@ -373,7 +373,7 @@ class Paybox extends PaymentModule
|
||||
$count_cards = Db::getInstance()->getValue('
|
||||
SELECT COUNT(`id_paybox_card`)
|
||||
FROM `'._DB_PREFIX_.'paybox_customer_agreement`
|
||||
WHERE `id_customer` = '.(int)$cart->id_customer.'
|
||||
WHERE `id_customer` = '.(int)$id_customer.'
|
||||
');
|
||||
if ($count_cards) {
|
||||
$refabonne = $customer->email.((int)$count_cards+1);
|
||||
|
Loading…
Reference in New Issue
Block a user