Reverse null.

This commit is contained in:
James Cole 2017-11-06 20:17:54 +01:00
parent ad18e04ad6
commit a2889ea4c4
No known key found for this signature in database
GPG Key ID: C16961E655E74B5E

View File

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