Skip to content

Firefly III: a personal finances manager

Reverse null.

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