mirror of
https://github.com/firefly-iii/firefly-iii.git
synced 2025-10-12 15:35:15 +00:00
Catch errors, prep to render them.
This commit is contained in:
@@ -318,7 +318,7 @@ trait RequestInformation
|
||||
|
||||
$shownDemo = true;
|
||||
// both must be array and either must be > 0
|
||||
if (\count($intro) > 0 || \count($specialIntro) > 0) {
|
||||
if (count($intro) > 0 || \count($specialIntro) > 0) {
|
||||
$shownDemo = app('preferences')->get($key, false)->data;
|
||||
Log::debug(sprintf('Check if user has already seen intro with key "%s". Result is %d', $key, $shownDemo));
|
||||
}
|
||||
|
Reference in New Issue
Block a user