diff --git a/htdocs/core/class/html.form.class.php b/htdocs/core/class/html.form.class.php index 3c9266c1fdc14..0f364670742b6 100644 --- a/htdocs/core/class/html.form.class.php +++ b/htdocs/core/class/html.form.class.php @@ -1162,12 +1162,14 @@ public function select_type_of_lines($selected = '', $htmlname = 'type', $showem global $langs; // If product & services are enabled or both disabled. - if ($forceall == 1 || (empty($forceall) && isModEnabled("product") && isModEnabled("service")) - || (empty($forceall) && !isModEnabled('product') && !isModEnabled('service'))) { + if ( + $forceall == 1 || (empty($forceall) && isModEnabled("product") && isModEnabled("service")) + || (empty($forceall) && !isModEnabled('product') && !isModEnabled('service')) + ) { if (empty($hidetext)) { print $langs->trans("Type") . ': '; } - print ''; if ($showempty) { print '