diff --git a/resources/views/transactions/index.blade.php b/resources/views/transactions/index.blade.php index e5e7b36671..3659fa5ba1 100644 --- a/resources/views/transactions/index.blade.php +++ b/resources/views/transactions/index.blade.php @@ -2,7 +2,7 @@ @section('content') {{-- upper show-all instruction --}} - @if(count($periods) > 0) + @if(is_countable($periods) && count($periods) > 0)
{{-- for withdrawals, deposits and transfers --}}
@@ -62,7 +62,7 @@ {{-- list with journals --}}
-
+
@@ -70,7 +70,7 @@
{{-- boxes with info --}} - @if(count($periods) > 0) + @if(is_countable($periods) && count($periods) > 0)
@@ -95,7 +95,7 @@
{{-- lower show-all instruction --}} - @if(count($periods) > 0) + @if(is_countable($periods) && count($periods) > 0)

{{ __('firefly.showEverything') }}

@@ -108,7 +108,7 @@ @vite(['js/pages/generic.js']) {{-- required for groups.twig --}}