1
0
mirror of https://github.com/invoiceninja/invoiceninja.git synced 2024-11-10 05:02:36 +01:00
This commit is contained in:
David Bomba 2019-09-19 21:40:05 +10:00
parent 85c645fbeb
commit bc2feba3fb

View File

@ -174,9 +174,6 @@ class StripePaymentDriver extends BasePaymentDriver
$cgt->meta = $payment_meta;
$cgt->save();
\Log::error('number of tokens = '. $this->client->gateway_tokens->count());
if($is_default == 'true' || $this->client->gateway_tokens->count() == 1)
{
$this->client->gateway_tokens()->update(['is_default'=>0]);