Manage_Table show header even if table empty

This commit is contained in:
sparkyx 2021-06-24 14:26:46 +02:00
parent 38bcc36789
commit 7845ebb136

View file

@ -831,13 +831,10 @@ function check()
} else {
printf('<table class="result sortable" id="tb%s">', $this->object_name);
}
$this->display_table_header();
echo '<tbody>';
for ($i=0; $i<$nb; $i++)
{
if ($i==0)
{
$this->display_table_header();
echo '<tbody>';
}
$row=Database::fetch_array($ret, $i);
$this->display_row($row);
}