From 16c67174b69503574d385e6aa75d3363b64af4b7 Mon Sep 17 00:00:00 2001 From: Hillel Coren Date: Sun, 15 Apr 2018 15:15:54 +0300 Subject: [PATCH] Develop branch: After logging in I get a warning that gateway_custom is not defined #2036 --- app/Listeners/HandleUserLoggedIn.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/app/Listeners/HandleUserLoggedIn.php b/app/Listeners/HandleUserLoggedIn.php index 4e85abe2fc0d..3c74d37cad37 100644 --- a/app/Listeners/HandleUserLoggedIn.php +++ b/app/Listeners/HandleUserLoggedIn.php @@ -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')); }