small fix

This commit is contained in:
Marion Muszynski 2016-10-06 14:53:29 +02:00
parent cfc9e5cf3d
commit 9a20001d73

View File

@ -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);