Bad colspan
This commit is contained in:
parent
5597e4a8b6
commit
3a4ad7c038
@ -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>';
|
||||
|
||||
Loading…
Reference in New Issue
Block a user