mirror of
https://github.com/invoiceninja/invoiceninja.git
synced 2024-11-09 20:52:56 +01:00
Fix for payment gateway failing validation
This commit is contained in:
parent
fa7203a90d
commit
8c15e2a735
@ -202,7 +202,7 @@ class AccountGatewayController extends BaseController
|
||||
$validator = Validator::make(Input::all(), $rules);
|
||||
|
||||
if ($validator->fails()) {
|
||||
return Redirect::to('gateways/create')
|
||||
return Redirect::to('gateways/create?other_providers=' . ($gatewayId == GATEWAY_WEPAY ? 'false' : 'true'))
|
||||
->withErrors($validator)
|
||||
->withInput();
|
||||
} else {
|
||||
|
Loading…
Reference in New Issue
Block a user