2
0
forked from Wavyzz/dolibarr

Debug v19

This commit is contained in:
Laurent Destailleur
2023-12-18 13:51:25 +01:00
parent 770bc15ca3
commit b49aff4d02
2 changed files with 10 additions and 4 deletions

View File

@@ -223,7 +223,10 @@ class ModeleBoxes // Can't be abtract as it is instantiated to build "empty" box
if (!empty($head['text']) || !empty($head['sublink']) || !empty($head['subpicto'])) {
$out .= '<tr class="liste_titre box_titre">';
$out .= '<th';
if ($nbcol > 0) {
if (!empty($head['nbcol'])) {
$nbcol = $head['nbcol'];
}
if ($nbcol > 1) {
$out .= ' colspan="'.$nbcol.'"';
}
$out .= '>';