Skip to content
Snippets Groups Projects
Commit 3a4ad7c0 authored by Laurent Destailleur's avatar Laurent Destailleur
Browse files

Bad colspan

parent 5597e4a8
Branches
Tags
No related merge requests found
......@@ -416,8 +416,11 @@ if ($socid && $action != 'edit' && $action != "create")
$var = !$var;
}
if (count($rib_list) == 0) {
print '<tr '.$bc[0].'><td colspan="7" align="center">'.$langs->trans("NoBANRecord").'</td></tr>';
if (count($rib_list) == 0)
{
$colspan=7;
if (! empty($conf->prelevement->enabled)) $colspan++;
print '<tr '.$bc[0].'><td colspan="'.$colspan.'" align="center">'.$langs->trans("NoBANRecord").'</td></tr>';
}
print '</table>';
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment