Fix td colspan

This commit is contained in:
Laurent Destailleur 2019-11-18 14:13:51 +01:00
parent ae0fdf014f
commit 3300446cbf

View File

@ -1533,7 +1533,7 @@ else
print $hookmanager->resPrint; print $hookmanager->resPrint;
if (empty($reshook)) if (empty($reshook))
{ {
print $object->showOptionals($extrafields, 'edit'); print $object->showOptionals($extrafields, 'edit', $parameters);
} }
// Tags-Categories // Tags-Categories
@ -1976,7 +1976,7 @@ else
} }
// Other attributes // Other attributes
$parameters = array('colspan' => ' colspan="'.(2 + (($showphoto || $showbarcode) ? 1 : 0)).'"'); $parameters = array('colspan' => ' colspan="'.(2 + (($showphoto || $showbarcode) ? 1 : 0)).'"', 'cols' => (2 + (($showphoto || $showbarcode) ? 1 : 0)));
include DOL_DOCUMENT_ROOT.'/core/tpl/extrafields_view.tpl.php'; include DOL_DOCUMENT_ROOT.'/core/tpl/extrafields_view.tpl.php';
// Categories // Categories