mirror of
https://github.com/invoiceninja/invoiceninja.git
synced 2024-11-08 20:22:42 +01: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()) {
|
||||
// check custom gateway id is correct
|
||||
$gateway = Gateway::find(GATEWAY_CUSTOM);
|
||||
if (! $gateway || $gateway->name !== 'Custom') {
|
||||
$gateway = Gateway::find(GATEWAY_CUSTOM1);
|
||||
if (! $gateway || $gateway->name !== 'Custom1') {
|
||||
Session::flash('error', trans('texts.error_incorrect_gateway_ids'));
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user