mirror of
https://github.com/invoiceninja/invoiceninja.git
synced 2025-07-07 19:14:40 -04:00
Fix for default payment method check
This commit is contained in:
parent
97a56fac13
commit
9d9fa2ff7e
@ -52,7 +52,11 @@ class AccountGatewayToken extends Eloquent
|
|||||||
*/
|
*/
|
||||||
public function autoBillLater()
|
public function autoBillLater()
|
||||||
{
|
{
|
||||||
return $this->default_payment_method->requiresDelayedAutoBill();
|
if ($this->default_payment_method) {
|
||||||
|
return $this->default_payment_method->requiresDelayedAutoBill();
|
||||||
|
}
|
||||||
|
|
||||||
|
return false;
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
Loading…
x
Reference in New Issue
Block a user