mirror of
https://github.com/invoiceninja/invoiceninja.git
synced 2025-07-09 03:14:30 -04:00
Updates for rotessa
This commit is contained in:
parent
f5226d342f
commit
ce181b976a
@ -111,7 +111,7 @@ class PaymentMethod implements MethodInterface, LivewireMethodInterface
|
|||||||
|
|
||||||
$message = json_decode($e->getMessage(), true);
|
$message = json_decode($e->getMessage(), true);
|
||||||
|
|
||||||
return redirect()->route('client.payment_methods.index')->withErrors(array_values($message['errors']));
|
return redirect()->route('client.payment_methods.index')->withErrors(array_values($message['errors'] ?? [$e->getMessage()]));
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user