mirror of
https://github.com/invoiceninja/invoiceninja.git
synced 2024-11-11 13:42:49 +01:00
Fix for removing payment method
This commit is contained in:
parent
0f6555fb55
commit
1e7bedd469
@ -460,7 +460,7 @@ class BasePaymentDriver
|
||||
->with('payment_methods')
|
||||
->first();
|
||||
|
||||
if ($this->customer) {
|
||||
if ($this->customer && $this->invitation) {
|
||||
$this->customer = $this->checkCustomerExists($this->customer) ? $this->customer : null;
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user