comptability version 7.4

warning null is not a countable
This commit is contained in:
sparkyx 2021-04-05 11:26:13 +02:00
parent ba1c4dacf9
commit a4fdc4dbce

View file

@ -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 '<table border="0" width="100%">';
foreach ($result as $row) {