mirror of
https://github.com/firefly-iii/firefly-iii.git
synced 2025-09-05 20:22:07 +00:00
Code cleaning stuff.
This commit is contained in:
@@ -72,7 +72,7 @@ class PreferencesController extends Controller
|
||||
|
||||
// an important fallback is that the frontPageAccount array gets refilled automatically
|
||||
// when it turns up empty.
|
||||
if (\count($frontPageAccounts->data) === 0) {
|
||||
if (0 === \count($frontPageAccounts->data)) {
|
||||
$frontPageAccounts = $accountIds;
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user