mirror of
https://github.com/invoiceninja/invoiceninja.git
synced 2024-11-09 12:42:36 +01:00
Fix for expiry failure
This commit is contained in:
parent
8e223c83a5
commit
303bfce10f
@ -1302,37 +1302,11 @@ trait GenerateMigrationResources
|
||||
}
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
private function convertMeta($payment_method)
|
||||
{
|
||||
$expiry = explode('-', $payment_method->expiration);
|
||||
|
||||
if (is_array($expiry)) {
|
||||
if (is_array($expiry) && count($expiry) >= 2) {
|
||||
$exp_month = $expiry[1];
|
||||
$exp_year = $expiry[0];
|
||||
} else {
|
||||
|
Loading…
Reference in New Issue
Block a user