Bad colspan
This commit is contained in:
parent
5597e4a8b6
commit
3a4ad7c038
@ -416,8 +416,11 @@ if ($socid && $action != 'edit' && $action != "create")
|
|||||||
$var = !$var;
|
$var = !$var;
|
||||||
}
|
}
|
||||||
|
|
||||||
if (count($rib_list) == 0) {
|
if (count($rib_list) == 0)
|
||||||
print '<tr '.$bc[0].'><td colspan="7" align="center">'.$langs->trans("NoBANRecord").'</td></tr>';
|
{
|
||||||
|
$colspan=7;
|
||||||
|
if (! empty($conf->prelevement->enabled)) $colspan++;
|
||||||
|
print '<tr '.$bc[0].'><td colspan="'.$colspan.'" align="center">'.$langs->trans("NoBANRecord").'</td></tr>';
|
||||||
}
|
}
|
||||||
|
|
||||||
print '</table>';
|
print '</table>';
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user