mirror of
https://github.com/invoiceninja/invoiceninja.git
synced 2025-06-02 12:54:35 -04:00
Fixes for when no bank integration id is sent
This commit is contained in:
parent
ca75d0078b
commit
925a6bdfc9
@ -44,7 +44,7 @@ class StoreBankIntegrationRequest extends Request
|
|||||||
{
|
{
|
||||||
$input = $this->all();
|
$input = $this->all();
|
||||||
|
|
||||||
if(!array_key_exists('provider_name', $input) || strlen($input['provider_name']) == 0 && array_key_exists('bank_account_name', $input))
|
if((!array_key_exists('provider_name', $input) || strlen($input['provider_name']) == 0) && array_key_exists('bank_account_name', $input))
|
||||||
$input['provider_name'] = $input['bank_account_name'];
|
$input['provider_name'] = $input['bank_account_name'];
|
||||||
|
|
||||||
$this->replace($input);
|
$this->replace($input);
|
||||||
|
Loading…
x
Reference in New Issue
Block a user