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)