mirror of
https://github.com/invoiceninja/invoiceninja.git
synced 2025-06-22 15:30:57 -04:00
Develop branch: After logging in I get a warning that gateway_custom is not defined #2036
This commit is contained in:
parent
a0ad0b2681
commit
16c67174b6
@ -79,8 +79,8 @@ class HandleUserLoggedIn
|
|||||||
|
|
||||||
if (! Utils::isNinja()) {
|
if (! Utils::isNinja()) {
|
||||||
// check custom gateway id is correct
|
// check custom gateway id is correct
|
||||||
$gateway = Gateway::find(GATEWAY_CUSTOM);
|
$gateway = Gateway::find(GATEWAY_CUSTOM1);
|
||||||
if (! $gateway || $gateway->name !== 'Custom') {
|
if (! $gateway || $gateway->name !== 'Custom1') {
|
||||||
Session::flash('error', trans('texts.error_incorrect_gateway_ids'));
|
Session::flash('error', trans('texts.error_incorrect_gateway_ids'));
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user