diff --git a/htdocs/core/class/commondocgenerator.class.php b/htdocs/core/class/commondocgenerator.class.php index 9abb15494bf..eb214516a6f 100644 --- a/htdocs/core/class/commondocgenerator.class.php +++ b/htdocs/core/class/commondocgenerator.class.php @@ -1278,7 +1278,6 @@ abstract class CommonDocGenerator // for some type we need line break if (in_array($field->type, $params['table']['arrayOfLineBreakType'])) { - if ($itemsInRow > 0) { // close table row and empty cols for ($i = $itemsInRow; $i <= $maxItemsInRow; $i++) { @@ -1295,7 +1294,6 @@ abstract class CommonDocGenerator $html .= '' . $field->label . ' : '; $html .= $field->content; $html .= ""; - } else { $itemsInRow++; $html .= '