1
0
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:
Hillel Coren 2018-04-15 15:15:54 +03:00
parent a0ad0b2681
commit 16c67174b6

View File

@ -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'));
}