mirror of
https://github.com/invoiceninja/invoiceninja.git
synced 2024-11-12 22:22:32 +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);
|
$validator = Validator::make(Input::all(), $rules);
|
||||||
|
|
||||||
if ($validator->fails()) {
|
if ($validator->fails()) {
|
||||||
return Redirect::to('gateways/create')
|
return Redirect::to('gateways/create?other_providers=' . ($gatewayId == GATEWAY_WEPAY ? 'false' : 'true'))
|
||||||
->withErrors($validator)
|
->withErrors($validator)
|
||||||
->withInput();
|
->withInput();
|
||||||
} else {
|
} else {
|
||||||
|
Loading…
Reference in New Issue
Block a user