diff --git a/include/template/dashboard.php b/include/template/dashboard.php index eda18ed0d..c1ecb32e8 100644 --- a/include/template/dashboard.php +++ b/include/template/dashboard.php @@ -158,7 +158,7 @@ if ( $report != 0 ) : ?> $result=$rapport->get_row($limit['start'],$limit['end'],'periode'); $ix=0; - if ( count ($result) > 0) + if ( !empty ($result ) && count ($result) > 0) { echo '