From a2889ea4c47264ebda3312cee07adcdd24e4a250 Mon Sep 17 00:00:00 2001 From: James Cole Date: Mon, 6 Nov 2017 20:17:54 +0100 Subject: [PATCH] Reverse null. --- app/Http/Controllers/Auth/LoginController.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/Http/Controllers/Auth/LoginController.php b/app/Http/Controllers/Auth/LoginController.php index 588f66d3bd..caa33aa923 100644 --- a/app/Http/Controllers/Auth/LoginController.php +++ b/app/Http/Controllers/Auth/LoginController.php @@ -92,7 +92,7 @@ class LoginController extends Controller // check for presence of currency: $currency = TransactionCurrency::where('code','EUR')->first(); - if(!is_null($currency)) { + if(is_null($currency)) { $message = 'Firefly III could not find the EURO currency. This is a strong indication the database has not been initialized correctly. Did you follow the installation instructions?'; return view('error',compact('message')); }