mirror of
https://github.com/firefly-iii/firefly-iii.git
synced 2025-10-19 10:53:31 +00:00
Reverse null.
This commit is contained in:
@@ -92,7 +92,7 @@ class LoginController extends Controller
|
|||||||
|
|
||||||
// check for presence of currency:
|
// check for presence of currency:
|
||||||
$currency = TransactionCurrency::where('code','EUR')->first();
|
$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?';
|
$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'));
|
return view('error',compact('message'));
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user