1
0
mirror of https://github.com/invoiceninja/invoiceninja.git synced 2024-11-05 18:52:44 +01:00

fix credit card saving with stripe

This commit is contained in:
Benjamin Beganović 2020-10-20 15:02:34 +02:00
parent 08501cceb6
commit 6ae18dac6f

View File

@ -179,7 +179,7 @@ class CreditCard
$payment_type = PaymentType::parseCardType($payment_method_object['card']['brand']);
if ($state['save_card'] == true || $state['save_card'] == 'true') {
if ($state['save_card'] === true || $state['save_card'] === 'true') {
$this->saveCard($state);
}