mirror of
https://github.com/firefly-iii/firefly-iii.git
synced 2025-10-15 08:35:00 +00:00
Fix all level 2 issues.
This commit is contained in:
@@ -136,7 +136,7 @@ class FireflyConfig
|
||||
public function getFresh(string $name, $default = null): ?Configuration
|
||||
{
|
||||
$config = Configuration::where('name', $name)->first(['id', 'name', 'data']);
|
||||
if ($config) {
|
||||
if (null !== $config) {
|
||||
return $config;
|
||||
}
|
||||
// no preference found and default is null:
|
||||
|
Reference in New Issue
Block a user