mirror of
https://github.com/invoiceninja/invoiceninja.git
synced 2025-07-09 03:14:30 -04:00
Fix for removing payment method
This commit is contained in:
parent
d44213bce9
commit
903036c02c
@ -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…
x
Reference in New Issue
Block a user